
ibt.ortc.api.ChannelPermissions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messaging Show documentation
Show all versions of messaging Show documentation
Realtime Cloud Messaging (ORTC) SDK for Java
/**
* @fileoverview This file contains the channels permissions enumeration
* @author ORTC team members ([email protected])
*/
package ibt.ortc.api;
/**
* Enumerates the existent permissions for a channel.
*
* @version 2.1.0 27 Mar 2013
* @author IBT
*/
public enum ChannelPermissions {
/**
* Read permission to the channel, don't allow write in the channel
*/
Read("r"),
/**
* Write permission to the channel, also allows read in the channel
*/
Write("w"),
/**
* Presence permission to the channel, allows token to get the number of subscriptions in the channel
*/
Presence("p");
private ChannelPermissions(String permission){
this.permission = permission;
}
private String permission;
String getPermission(){
return this.permission;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy