public class PermissionInfo extends Wrapper
Includes the numerical ID and the name of the permission, as well as an optional short description of this permission. Does not include any information about any possible permission assignments.
For a complete description of the TS3 permission system, refer to this post on the TeamSpeak forums.
Constructor and Description |
---|
PermissionInfo(Map<String,String> map) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
A short description about what this permission does.
|
int |
getId()
Gets the numerical ID of this permission.
|
String |
getName()
Gets the name of this permission.
|
public PermissionInfo(Map<String,String> map)
public int getId()
In most cases, the name of the permission should be preferred over the numerical ID.
public String getName()
Boolean permissions are prefixed with b_
Integer permissions are prefixed with i_
public String getDescription()
Does not exist for all permissions. In that case, an empty String will be returned instead.
Copyright © 2016. All rights reserved.