Package de.maxhenkel.voicechat.api
Interface VolumeCategory
public interface VolumeCategory
A custom volume category for the "adjust volumes screen".
Create it with
VoicechatApi.volumeCategoryBuilder()
.
Register it with VoicechatServerApi.registerVolumeCategory(VolumeCategory)
or VoicechatClientApi.registerClientVolumeCategory(VolumeCategory)
.
Unregister it with VoicechatServerApi.unregisterVolumeCategory(de.maxhenkel.voicechat.api.VolumeCategory)
or VoicechatClientApi.unregisterClientVolumeCategory(de.maxhenkel.voicechat.api.VolumeCategory)
.-
Nested Class Summary
-
Method Summary
-
Method Details
-
getId
String getId()- Returns:
- the unique ID of the category
-
getName
String getName()- Returns:
- the full name of the category, that is displayed for the end user
-
getDescription
- Returns:
- the hover tooltip that is shown for this category
-
getIcon
@Nullable int[][] getIcon()- Returns:
- the icon that is shown for this category
-