Package | com.marpies.ane.facebook.events |
Class | public class AIRFacebookGameRequestEvent |
Inheritance | AIRFacebookGameRequestEvent AIRFacebookCancellableEvent AIRFacebookEvent flash.events.Event |
AIRFacebook.showGameRequestDialog()
.
If the dialog was successfully sent, this event provides ID of the sent request
as well as IDs of the recipients.
Property | Defined By | ||
---|---|---|---|
errorMessage : String
Returns a message associated with an error,
or null if no error occurred. | AIRFacebookEvent | ||
recipients : Vector.<String>
List of IDs of Facebook users to which the request was sent,
or null if the request was not sent. | AIRFacebookGameRequestEvent | ||
requestID : String
ID of the GameRequest, or null if the request was not sent. | AIRFacebookGameRequestEvent | ||
wasCancelled : Boolean
Returns true if the action represented by the event was cancelled,
false otherwise. | AIRFacebookCancellableEvent |
Method | Defined By | ||
---|---|---|---|
AIRFacebookGameRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) | AIRFacebookGameRequestEvent |
Constant | Defined By | ||
---|---|---|---|
REQUEST_RESULT : String = gameRequestRequestResult [static] | AIRFacebookGameRequestEvent | ||
SDK_INIT : String = sdkInit [static]
Dispatched shortly after a call to AIRFacebook.init(), at which point the Facebook SDK
is fully initialized and it is safe to use the rest of the API. | AIRFacebookEvent |
recipients | property |
recipients:Vector.<String>
List of IDs of Facebook users to which the request was sent,
or null
if the request was not sent.
public function get recipients():Vector.<String>
public function set recipients(value:Vector.<String>):void
requestID | property |
requestID:String
ID of the GameRequest, or null
if the request was not sent.
public function get requestID():String
public function set requestID(value:String):void
AIRFacebookGameRequestEvent | () | Constructor |
public function AIRFacebookGameRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
type:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
REQUEST_RESULT | Constant |
public static const REQUEST_RESULT:String = gameRequestRequestResult