| Package | com.distriqt.extension.facebookapi.events |
| Class | public class GameRequestEvent |
| Inheritance | GameRequestEvent flash.events.Event |
This class represents events dispatched from Game Requests.
See also
| Property | Defined By | ||
|---|---|---|---|
| errorCode : int = -1 | GameRequestEvent | ||
| errorMessage : String = null | GameRequestEvent | ||
| recipients : Array
request recipients
| GameRequestEvent | ||
| requestId : String = null
the request ID
| GameRequestEvent | ||
| Method | Defined By | ||
|---|---|---|---|
GameRequestEvent(type:String, requestId:String = null, recipients:Array = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| GameRequestEvent | ||
clone():Event [override] | GameRequestEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| DIALOG_CANCELLED : String = facebookapi:gamerequest:dialog:cancelled [static]
Dispatched when the user cancelled a Game Request dialog
| GameRequestEvent | ||
| DIALOG_COMPLETED : String = facebookapi:gamerequest:dialog:completed [static]
Dispatched when the Facebook App Invite dialog has completed successfully. | GameRequestEvent | ||
| DIALOG_ERROR : String = facebookapi:gamerequest:dialog:error [static]
Dispatched when an error occurred from a Game Request dialog
errorMessage will contain details on the error that occurred. | GameRequestEvent | ||
| errorCode | property |
public var errorCode:int = -1
| errorMessage | property |
public var errorMessage:String = null
| recipients | property |
public var recipients:Arrayrequest recipients
| requestId | property |
public var requestId:String = nullthe request ID
| GameRequestEvent | () | Constructor |
public function GameRequestEvent(type:String, requestId:String = null, recipients:Array = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)Constructor
Parameterstype:String | |
requestId:String (default = null) | |
recipients:Array (default = null) | |
errorCode:int (default = -1) | |
errorMessage:String (default = null) | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) |
| clone | () | method |
override public function clone():EventReturnsEvent |
| DIALOG_CANCELLED | Constant |
public static const DIALOG_CANCELLED:String = facebookapi:gamerequest:dialog:cancelledDispatched when the user cancelled a Game Request dialog
| DIALOG_COMPLETED | Constant |
public static const DIALOG_COMPLETED:String = facebookapi:gamerequest:dialog:completed
Dispatched when the Facebook App Invite dialog has completed successfully.
| DIALOG_ERROR | Constant |
public static const DIALOG_ERROR:String = facebookapi:gamerequest:dialog:error
Dispatched when an error occurred from a Game Request dialog
errorMessage will contain details on the error that occurred.