Package | com.distriqt.extension.facebook.gamingservices.events |
Class | public class GameRequestDialogEvent |
Inheritance | GameRequestDialogEvent flash.events.Event |
See also
Property | Defined By | ||
---|---|---|---|
errorCode : int = -1
The error code if an error occurred
| GameRequestDialogEvent | ||
errorMessage : String = null
An error message describing the issue if an error occurred
| GameRequestDialogEvent | ||
recipients : Array
The list of recipient ids
| GameRequestDialogEvent | ||
requestId : String = null
The request id of this dialog
| GameRequestDialogEvent |
Method | Defined By | ||
---|---|---|---|
GameRequestDialogEvent(type:String, requestId:String = null, recipients:Array = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| GameRequestDialogEvent | ||
clone():Event [override] | GameRequestDialogEvent |
Constant | Defined By | ||
---|---|---|---|
CANCEL : String = facebook_gamerequest_dialog_cancel [static]
Dispatched when the user cancelled a game request dialog
| GameRequestDialogEvent | ||
COMPLETE : String = facebook_gamerequest_dialog_complete [static]
Dispatched when the Facebook game request dialog has completed successfully. | GameRequestDialogEvent | ||
ERROR : String = facebook_gamerequest_dialog_error [static]
Dispatched when an error occurred posting from a dialog
errorMessage will contain details on the error that occurred. | GameRequestDialogEvent |
errorCode | property |
public var errorCode:int = -1
The error code if an error occurred
errorMessage | property |
public var errorMessage:String = null
An error message describing the issue if an error occurred
recipients | property |
public var recipients:Array
The list of recipient ids
requestId | property |
public var requestId:String = null
The request id of this dialog
GameRequestDialogEvent | () | Constructor |
public function GameRequestDialogEvent(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():Event
ReturnsEvent |
CANCEL | Constant |
public static const CANCEL:String = facebook_gamerequest_dialog_cancel
Dispatched when the user cancelled a game request dialog
COMPLETE | Constant |
public static const COMPLETE:String = facebook_gamerequest_dialog_complete
Dispatched when the Facebook game request dialog has completed successfully.
requestId
will contain the id of the game request.
ERROR | Constant |
public static const ERROR:String = facebook_gamerequest_dialog_error
Dispatched when an error occurred posting from a dialog
errorMessage
will contain details on the error that occurred.