| Package | com.electrotank.electroserver5.user |
| Class | public class User |
| Inheritance | User Object |
| Property | Defined By | ||
|---|---|---|---|
| buddyVariable : EsObject
Gets the optional buddy variable set when the buddy was added via the AddBuddyRequest. | User | ||
| isBuddy : Boolean
Returns 'true' if this user is also a buddy of yours. | User | ||
| isLoggedIn : Boolean
Used if this user is a buddy of yours. | User | ||
| isMe : Boolean
Returns 'true' if this user represents you. | User | ||
| isSendingVideo : Boolean
Returns 'true' if the user is currently publishing video to the server (Flash only). | User | ||
| userName : String
Gets the userName of this user. | User | ||
| userVariables : Array [read-only]
Gets the list of user variables. | User | ||
| videoStreamName : String
Gets the name of the video stream. | User | ||
| Method | Defined By | ||
|---|---|---|---|
User()
Creates a new instance of the User class. | User | ||
userVariableByName(name:String):UserVariable
Gets a user variable by its name and returns it. | User | ||
| buddyVariable | property |
buddyVariable:EsObjectGets the optional buddy variable set when the buddy was added via the AddBuddyRequest.
public function get buddyVariable():EsObject public function set buddyVariable(value:EsObject):void| isBuddy | property |
isBuddy:BooleanReturns 'true' if this user is also a buddy of yours.
public function get isBuddy():Boolean public function set isBuddy(value:Boolean):void| isLoggedIn | property |
isLoggedIn:BooleanUsed if this user is a buddy of yours. It returns 'true' if the buddy is logged in.
public function get isLoggedIn():Boolean public function set isLoggedIn(value:Boolean):void| isMe | property |
isMe:BooleanReturns 'true' if this user represents you.
public function get isMe():Boolean public function set isMe(value:Boolean):void| isSendingVideo | property |
isSendingVideo:BooleanReturns 'true' if the user is currently publishing video to the server (Flash only). The videoStreamName property contains the name of the stream.
public function get isSendingVideo():Boolean public function set isSendingVideo(value:Boolean):void| userName | property |
userName:StringGets the userName of this user.
public function get userName():String public function set userName(value:String):void| userVariables | property |
userVariables:Array [read-only] Gets the list of user variables.
public function get userVariables():Array| videoStreamName | property |
videoStreamName:StringGets the name of the video stream. It is only non-null if isSendingVideo is true.
public function get videoStreamName():String public function set videoStreamName(value:String):void| User | () | Constructor |
public function User()Creates a new instance of the User class.
| userVariableByName | () | method |
public function userVariableByName(name:String):UserVariableGets a user variable by its name and returns it.
Parameters
name:String — of the variable to get.
|
UserVariable — The UserVariable object
|