Package | com.milkmangames.nativeextensions.events |
Class | public class GVFacebookEvent |
Inheritance | GVFacebookEvent ![]() |
Property | Defined By | ||
---|---|---|---|
data : Object [read-only] Retrieve the decoded data associated with a graph request. | GVFacebookEvent | ||
dialogType : String The Dialog Type associated with this event | GVFacebookEvent | ||
errorCode : int The Error code associated with this event | GVFacebookEvent | ||
errorMessage : String The error message associated with this event | GVFacebookEvent | ||
facebookErrorCategoryId : int Facebook Error Category ID, associated with authentication errors. | GVFacebookEvent | ||
facebookMobileAdId : String Facebook Mobile App Ad Id associated with this event | GVFacebookEvent | ||
facebookUserErrorMessage : String Facebook user-facing error message, if any. | GVFacebookEvent | ||
friends : Vector.<GVFacebookFriend> [read-only] The list of GVFacebookFriend objects for calls to GoViral.goViral.getMyFriends(). | GVFacebookEvent | ||
graphPath : String The Graph Path associated with this event | GVFacebookEvent | ||
graphPathQuery : String Extended Query String of Graph Path | GVFacebookEvent | ||
jsonData : String The JSON Data associated with the event | GVFacebookEvent | ||
permissions : String Permission list associated with this event | GVFacebookEvent | ||
shouldNotifyFacebookUser : Boolean If true, Facebook suggests presenting the message in .errorMessage directly to the user. | GVFacebookEvent |
Method | Defined By | ||
---|---|---|---|
GVFacebookEvent(type:String, jsonData:String = null, bubbles:Boolean = false, cancelable:Boolean = false) Create new GVFacebookEvent | GVFacebookEvent | ||
clone():Event [override]
| GVFacebookEvent | ||
toString():String [override]
| GVFacebookEvent |
Constant | Defined By | ||
---|---|---|---|
FACEBOOK_FEED_DIALOG : String = feed [static] Facebook 'Feed' Dialog Type Identifier
| GVFacebookEvent | ||
FACEBOOK_GRAPH_DIALOG : String = graph [static] Facebook 'Open Graph Action' Dialog Type Identifier
| GVFacebookEvent | ||
FACEBOOK_MESSAGE_DIALOG : String = message [static] Facebook 'Message' Dialog Type Identifier
| GVFacebookEvent | ||
FACEBOOK_REQUEST_DIALOG : String = apprequests [static] Facebook 'Request' Dialog Type Identifier
| GVFacebookEvent | ||
FACEBOOK_SHARE_DIALOG : String = share [static] Facebook 'Share' Dialog Type Identifier
| GVFacebookEvent | ||
FB_AD_ID_RESPONSE : String = gvFbAdIdResponse [static] Facebook Mobile App Ad ID Response
| GVFacebookEvent | ||
FB_DIALOG_CANCELED : String = gvFbDialogCancelled [static] Dispatched when a Facebook Dialog is cancelled
| GVFacebookEvent | ||
FB_DIALOG_FAILED : String = gvFbDialogFailed [static] Dispatched when a Facebook Dialog has failed
| GVFacebookEvent | ||
FB_DIALOG_FINISHED : String = gvFbDialogFinished [static] Dispatched When a Facebook Dialog has finished
| GVFacebookEvent | ||
FB_LOGGED_IN : String = gvFacebookLoggedin [static] Dispatched When the user has logged in with Facebook
| GVFacebookEvent | ||
FB_LOGGED_OUT : String = gvFacebookLoggedout [static] Dispatched when the user has logged out with Facebook
| GVFacebookEvent | ||
FB_LOGIN_CANCELED : String = gvFacebookLoginCancelled [static] Dispatched When the User cancelled Facebook Login
| GVFacebookEvent | ||
FB_LOGIN_FAILED : String = gvFacebookLoginFailed [static] Dispatched When Facebook Login fails
| GVFacebookEvent | ||
FB_PERMISSIONS_REFRESHED : String = gvSessionPermRefreshed [static] Dispatched after a successful call to refresh Facebook session Permissions
| GVFacebookEvent | ||
FB_PERMISSIONS_REFRESH_FAILED : String = gvSessionPermFailed [static] Dispatched after a call to refresh Facebook session Permissions has failed
| GVFacebookEvent | ||
FB_PUBLISH_PERMISSIONS_FAILED : String = gvPublishPermFailed [static] Dispatched after a call to request new Facebook Publish Permissions has failed
| GVFacebookEvent | ||
FB_PUBLISH_PERMISSIONS_UPDATED : String = gvPublishPermUpdated [static] Dispatched after a successful call to request new Facebook Publish Permissions
| GVFacebookEvent | ||
FB_READ_PERMISSIONS_FAILED : String = gvReadPermFailed [static] Dispatched after a call to request new Facebook Read Permissions has failed
| GVFacebookEvent | ||
FB_READ_PERMISSIONS_UPDATED : String = gvReadPermUpdated [static] Dispatched after a successful call to request new Facebook Read Permissions
| GVFacebookEvent | ||
FB_REQUEST_FAILED : String = gvFbRequestFailed [static] Dispatched when a Facebook Graph Request has failed
| GVFacebookEvent | ||
FB_REQUEST_RESPONSE : String = gvFbRawResponse [static] Dispatched when a Facebook Graph Request returns a response
| GVFacebookEvent | ||
FB_SESSION_INVALIDATED : String = gvFacebookSessionInvalidated [static] Dispatched when the Facebook auth session is invalidated- for instance by the user revoking your permissions, or changing their password
| GVFacebookEvent |
data | property |
data:Object
[read-only] Retrieve the decoded data associated with a graph request. This will be in the form of a generic Actionscript Object where the keys map directly to Facebook's JSON format.
public function get data():Object
dialogType | property |
public var dialogType:String
The Dialog Type associated with this event
errorCode | property |
public var errorCode:int
The Error code associated with this event
errorMessage | property |
public var errorMessage:String
The error message associated with this event
facebookErrorCategoryId | property |
public var facebookErrorCategoryId:int
Facebook Error Category ID, associated with authentication errors. One of the values of GVFacebookErrorCategory. Used only on iOS 6+
facebookMobileAdId | property |
public var facebookMobileAdId:String
Facebook Mobile App Ad Id associated with this event
facebookUserErrorMessage | property |
public var facebookUserErrorMessage:String
Facebook user-facing error message, if any. Used only on iOS 6+
friends | property |
friends:Vector.<GVFacebookFriend>
[read-only] The list of GVFacebookFriend objects for calls to GoViral.goViral.getMyFriends().
public function get friends():Vector.<GVFacebookFriend>
graphPath | property |
public var graphPath:String
The Graph Path associated with this event
graphPathQuery | property |
public var graphPathQuery:String
Extended Query String of Graph Path
jsonData | property |
public var jsonData:String
The JSON Data associated with the event
permissions | property |
public var permissions:String
Permission list associated with this event
shouldNotifyFacebookUser | property |
public var shouldNotifyFacebookUser:Boolean
If true, Facebook suggests presenting the message in .errorMessage directly to the user. Used on only iOS 6+
GVFacebookEvent | () | Constructor |
public function GVFacebookEvent(type:String, jsonData:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
Create new GVFacebookEvent
Parameterstype:String | |
jsonData:String (default = null )
| |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
Returns
Event |
toString | () | method |
override public function toString():String
Returns
String |
FACEBOOK_FEED_DIALOG | Constant |
public static const FACEBOOK_FEED_DIALOG:String = feed
Facebook 'Feed' Dialog Type Identifier
FACEBOOK_GRAPH_DIALOG | Constant |
public static const FACEBOOK_GRAPH_DIALOG:String = graph
Facebook 'Open Graph Action' Dialog Type Identifier
FACEBOOK_MESSAGE_DIALOG | Constant |
public static const FACEBOOK_MESSAGE_DIALOG:String = message
Facebook 'Message' Dialog Type Identifier
FACEBOOK_REQUEST_DIALOG | Constant |
public static const FACEBOOK_REQUEST_DIALOG:String = apprequests
Facebook 'Request' Dialog Type Identifier
FACEBOOK_SHARE_DIALOG | Constant |
public static const FACEBOOK_SHARE_DIALOG:String = share
Facebook 'Share' Dialog Type Identifier
FB_AD_ID_RESPONSE | Constant |
public static const FB_AD_ID_RESPONSE:String = gvFbAdIdResponse
Facebook Mobile App Ad ID Response
FB_DIALOG_CANCELED | Constant |
public static const FB_DIALOG_CANCELED:String = gvFbDialogCancelled
Dispatched when a Facebook Dialog is cancelled
FB_DIALOG_FAILED | Constant |
public static const FB_DIALOG_FAILED:String = gvFbDialogFailed
Dispatched when a Facebook Dialog has failed
FB_DIALOG_FINISHED | Constant |
public static const FB_DIALOG_FINISHED:String = gvFbDialogFinished
Dispatched When a Facebook Dialog has finished
FB_LOGGED_IN | Constant |
public static const FB_LOGGED_IN:String = gvFacebookLoggedin
Dispatched When the user has logged in with Facebook
FB_LOGGED_OUT | Constant |
public static const FB_LOGGED_OUT:String = gvFacebookLoggedout
Dispatched when the user has logged out with Facebook
FB_LOGIN_CANCELED | Constant |
public static const FB_LOGIN_CANCELED:String = gvFacebookLoginCancelled
Dispatched When the User cancelled Facebook Login
FB_LOGIN_FAILED | Constant |
public static const FB_LOGIN_FAILED:String = gvFacebookLoginFailed
Dispatched When Facebook Login fails
FB_PERMISSIONS_REFRESH_FAILED | Constant |
public static const FB_PERMISSIONS_REFRESH_FAILED:String = gvSessionPermFailed
Dispatched after a call to refresh Facebook session Permissions has failed
FB_PERMISSIONS_REFRESHED | Constant |
public static const FB_PERMISSIONS_REFRESHED:String = gvSessionPermRefreshed
Dispatched after a successful call to refresh Facebook session Permissions
FB_PUBLISH_PERMISSIONS_FAILED | Constant |
public static const FB_PUBLISH_PERMISSIONS_FAILED:String = gvPublishPermFailed
Dispatched after a call to request new Facebook Publish Permissions has failed
FB_PUBLISH_PERMISSIONS_UPDATED | Constant |
public static const FB_PUBLISH_PERMISSIONS_UPDATED:String = gvPublishPermUpdated
Dispatched after a successful call to request new Facebook Publish Permissions
FB_READ_PERMISSIONS_FAILED | Constant |
public static const FB_READ_PERMISSIONS_FAILED:String = gvReadPermFailed
Dispatched after a call to request new Facebook Read Permissions has failed
FB_READ_PERMISSIONS_UPDATED | Constant |
public static const FB_READ_PERMISSIONS_UPDATED:String = gvReadPermUpdated
Dispatched after a successful call to request new Facebook Read Permissions
FB_REQUEST_FAILED | Constant |
public static const FB_REQUEST_FAILED:String = gvFbRequestFailed
Dispatched when a Facebook Graph Request has failed
FB_REQUEST_RESPONSE | Constant |
public static const FB_REQUEST_RESPONSE:String = gvFbRawResponse
Dispatched when a Facebook Graph Request returns a response
FB_SESSION_INVALIDATED | Constant |
public static const FB_SESSION_INVALIDATED:String = gvFacebookSessionInvalidated
Dispatched when the Facebook auth session is invalidated- for instance by the user revoking your permissions, or changing their password