| Package | com.distriqt.extension.facebook.share.events |
| Class | public class GameRequestDialogEvent |
| Inheritance | GameRequestDialogEvent flash.events.Event |
This class represents events dispatched from the Game Request Dialog.
See also
| Property | Defined By | ||
|---|---|---|---|
| errorCode : int = -1 | GameRequestDialogEvent | ||
| errorMessage : String = null | GameRequestDialogEvent | ||
| id : String = null
The resulting request id
| GameRequestDialogEvent | ||
| recipients : Array
The array of recipients of the request
| GameRequestDialogEvent | ||
| Method | Defined By | ||
|---|---|---|---|
GameRequestDialogEvent(type:String, id: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
| errorMessage | property |
public var errorMessage:String = null
| id | property |
public var id:String = nullThe resulting request id
| recipients | property |
public var recipients:ArrayThe array of recipients of the request
| GameRequestDialogEvent | () | Constructor |
public function GameRequestDialogEvent(type:String, id:String = null, recipients:Array = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)Constructor
Parameterstype:String | |
id: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 |
| CANCEL | Constant |
public static const CANCEL:String = facebook_gamerequest_dialog_cancelDispatched 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.
postId will contain the id of the post created.
| 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.