| Package | org.igniterealtime.xiff.events |
| Class | public class RoomEvent |
| Inheritance | RoomEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| data : *
Data type can be Message, Array, or Presence
depending of the context. | RoomEvent | ||
| errorCode : uint | RoomEvent | ||
| errorCondition : String | RoomEvent | ||
| errorMessage : String | RoomEvent | ||
| errorType : String | RoomEvent | ||
| from : String
TODO: EscapedJID ?
| RoomEvent | ||
| nickname : String | RoomEvent | ||
| reason : String | RoomEvent | ||
| subject : String | RoomEvent | ||
| Method | Defined By | ||
|---|---|---|---|
RoomEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) | RoomEvent | ||
clone():Event [override] | RoomEvent | ||
toString():String [override] | RoomEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| ADMIN_ERROR : String = adminError [static] | RoomEvent | ||
| AFFILIATION_CHANGE_COMPLETE : String = affiliationChangeComplete [static] | RoomEvent | ||
| AFFILIATIONS : String = affiliations [static] | RoomEvent | ||
| BANNED_ERROR : String = bannedError [static] | RoomEvent | ||
| CONFIGURE_ROOM : String = configureRoom [static] | RoomEvent | ||
| CONFIGURE_ROOM_COMPLETE : String = configureRoomComplete [static] | RoomEvent | ||
| DECLINED : String = declined [static] | RoomEvent | ||
| GROUP_MESSAGE : String = groupMessage [static] | RoomEvent | ||
| LOCKED_ERROR : String = lockedError [static] | RoomEvent | ||
| MAX_USERS_ERROR : String = maxUsersError [static] | RoomEvent | ||
| NICK_CONFLICT : String = nickConflict [static] | RoomEvent | ||
| PASSWORD_ERROR : String = passwordError [static] | RoomEvent | ||
| PRIVATE_MESSAGE : String = privateMessage [static] | RoomEvent | ||
| REGISTRATION_REQ_ERROR : String = registrationReqError [static] | RoomEvent | ||
| ROOM_DESTROYED : String = roomDestroyed [static] | RoomEvent | ||
| ROOM_JOIN : String = roomJoin [static] | RoomEvent | ||
| ROOM_LEAVE : String = roomLeave [static] | RoomEvent | ||
| SUBJECT_CHANGE : String = subjectChange [static] | RoomEvent | ||
| USER_BANNED : String = userBanned [static] | RoomEvent | ||
| USER_DEPARTURE : String = userDeparture [static] | RoomEvent | ||
| USER_JOIN : String = userJoin [static] | RoomEvent | ||
| USER_KICKED : String = userKicked [static] | RoomEvent | ||
| USER_PRESENCE_CHANGE : String = userPresenceChange [static] | RoomEvent | ||
| data | property |
data:*
Data type can be Message, Array, or Presence
depending of the context.
public function get data():* public function set data(value:any):voidSee also
| errorCode | property |
errorCode:uint
public function get errorCode():uint public function set errorCode(value:uint):void| errorCondition | property |
errorCondition:String
public function get errorCondition():String public function set errorCondition(value:String):void| errorMessage | property |
errorMessage:String
public function get errorMessage():String public function set errorMessage(value:String):void| errorType | property |
errorType:String
public function get errorType():String public function set errorType(value:String):void| from | property |
from:StringTODO: EscapedJID ?
public function get from():String public function set from(value:String):void| nickname | property |
nickname:String
public function get nickname():String public function set nickname(value:String):void| reason | property |
reason:String
public function get reason():String public function set reason(value:String):void| subject | property |
subject:String
public function get subject():String public function set subject(value:String):void| RoomEvent | () | Constructor |
public function RoomEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Parameters
type:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) |
| clone | () | method |
override public function clone():EventReturnsEvent |
| toString | () | method |
override public function toString():StringReturnsString |
| ADMIN_ERROR | Constant |
public static const ADMIN_ERROR:String = adminError| AFFILIATION_CHANGE_COMPLETE | Constant |
public static const AFFILIATION_CHANGE_COMPLETE:String = affiliationChangeComplete| AFFILIATIONS | Constant |
public static const AFFILIATIONS:String = affiliations| BANNED_ERROR | Constant |
public static const BANNED_ERROR:String = bannedError| CONFIGURE_ROOM | Constant |
public static const CONFIGURE_ROOM:String = configureRoom| CONFIGURE_ROOM_COMPLETE | Constant |
public static const CONFIGURE_ROOM_COMPLETE:String = configureRoomComplete| DECLINED | Constant |
public static const DECLINED:String = declined| GROUP_MESSAGE | Constant |
public static const GROUP_MESSAGE:String = groupMessage| LOCKED_ERROR | Constant |
public static const LOCKED_ERROR:String = lockedError| MAX_USERS_ERROR | Constant |
public static const MAX_USERS_ERROR:String = maxUsersError| NICK_CONFLICT | Constant |
public static const NICK_CONFLICT:String = nickConflict| PASSWORD_ERROR | Constant |
public static const PASSWORD_ERROR:String = passwordError| PRIVATE_MESSAGE | Constant |
public static const PRIVATE_MESSAGE:String = privateMessage| REGISTRATION_REQ_ERROR | Constant |
public static const REGISTRATION_REQ_ERROR:String = registrationReqError| ROOM_DESTROYED | Constant |
public static const ROOM_DESTROYED:String = roomDestroyed| ROOM_JOIN | Constant |
public static const ROOM_JOIN:String = roomJoin| ROOM_LEAVE | Constant |
public static const ROOM_LEAVE:String = roomLeave| SUBJECT_CHANGE | Constant |
public static const SUBJECT_CHANGE:String = subjectChange| USER_BANNED | Constant |
public static const USER_BANNED:String = userBanned| USER_DEPARTURE | Constant |
public static const USER_DEPARTURE:String = userDeparture| USER_JOIN | Constant |
public static const USER_JOIN:String = userJoin| USER_KICKED | Constant |
public static const USER_KICKED:String = userKicked| USER_PRESENCE_CHANGE | Constant |
public static const USER_PRESENCE_CHANGE:String = userPresenceChange