Package | com.smartfoxserver.v2.entities.variables |
Interface | public interface UserVariable extends Variable |
Implementors | SFSUserVariable |
In the SmartFoxServer 2X client API this interface is implemented by the SFSUserVariable class. Read the class description for additional informations.
See also
Property | Defined By | ||
---|---|---|---|
isPrivate : Boolean
Indicates whether this User Variable is private or not. | UserVariable | ||
name : String [read-only]
Indicates the name of this variable. | Variable | ||
type : String [read-only]
Indicates the type of this variable. | Variable |
isPrivate | property |
isPrivate:Boolean
Indicates whether this User Variable is private or not. A private User Variable is visible only to its owner; any changes made to the variable will be transmitted to the owner only.
NOTE: setting the isPrivate property manually on an existing User Variable returned by the API has no effect on the server and can disrupt the API functioning. This flag can be set when the User Variable object is created by the developer only (using the new keyword).
public function get isPrivate():Boolean
public function set isPrivate(value:Boolean):void