public enum PermissionGroupType extends Enum<PermissionGroupType>
PermissionAssignment
originates from.Enum Constant and Description |
---|
CHANNEL
A permission requirement for certain actions in a channel.
|
CHANNEL_CLIENT
A permission assigned to a client in a specific channel.
|
CHANNEL_GROUP
A permission assigned to a channel group.
|
GLOBAL_CLIENT
A permission assigned to a client on a server-wide level.
|
SERVER_GROUP
A permission assigned to a server group.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static PermissionGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionGroupType SERVER_GROUP
public static final PermissionGroupType GLOBAL_CLIENT
public static final PermissionGroupType CHANNEL
Examples: Join, talk, subscribe and file upload permission requirements
public static final PermissionGroupType CHANNEL_GROUP
public static final PermissionGroupType CHANNEL_CLIENT
This is mostly used for the priority speaker feature by granting
b_client_is_priority_speaker
to a client in a channel.
public static PermissionGroupType[] values()
for (PermissionGroupType c : PermissionGroupType.values()) System.out.println(c);
public static PermissionGroupType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getIndex()
Copyright © 2016. All rights reserved.