Packagecom.milkmangames.nativeextensions.ios.events
Classpublic class GVFacebookEvent
InheritanceGVFacebookEvent Inheritance flash.events.Event

GoViral Facebook Event



Public Properties
 PropertyDefined 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
  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
  jsonData : String
The JSON Data associated with the event
GVFacebookEvent
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined By
  FACEBOOK_FEED_DIALOG : String = feed
[static] Facebook 'Feed' Dialog Type Identifier
GVFacebookEvent
  FACEBOOK_REQUEST_DIALOG : String = apprequests
[static] Facebook 'Request' Dialog Type Identifier
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_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
Property Detail
dataproperty
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.


Implementation
    public function get data():Object
dialogTypeproperty 
public var dialogType:String

The Dialog Type associated with this event

errorCodeproperty 
public var errorCode:int

The Error code associated with this event

errorMessageproperty 
public var errorMessage:String

The error message associated with this event

friendsproperty 
friends:Vector.<GVFacebookFriend>  [read-only]

The list of GVFacebookFriend objects for calls to GoViral.goViral.getMyFriends().


Implementation
    public function get friends():Vector.<GVFacebookFriend>
graphPathproperty 
public var graphPath:String

The Graph Path associated with this event

jsonDataproperty 
public var jsonData:String

The JSON Data associated with the event

Constructor Detail
GVFacebookEvent()Constructor
public function GVFacebookEvent(type:String, jsonData:String = null, bubbles:Boolean = false, cancelable:Boolean = false)

Create new GVFacebookEvent

Parameters
type:String
 
jsonData:String (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
toString()method 
override public function toString():String

Returns
String
Constant Detail
FACEBOOK_FEED_DIALOGConstant
public static const FACEBOOK_FEED_DIALOG:String = feed

Facebook 'Feed' Dialog Type Identifier

FACEBOOK_REQUEST_DIALOGConstant 
public static const FACEBOOK_REQUEST_DIALOG:String = apprequests

Facebook 'Request' Dialog Type Identifier

FB_DIALOG_CANCELEDConstant 
public static const FB_DIALOG_CANCELED:String = gvFbDialogCancelled

Dispatched when a Facebook Dialog is cancelled

FB_DIALOG_FAILEDConstant 
public static const FB_DIALOG_FAILED:String = gvFbDialogFailed

Dispatched when a Facebook Dialog has failed

FB_DIALOG_FINISHEDConstant 
public static const FB_DIALOG_FINISHED:String = gvFbDialogFinished

Dispatched When a Facebook Dialog has finished

FB_LOGGED_INConstant 
public static const FB_LOGGED_IN:String = gvFacebookLoggedin

Dispatched When the user has logged in with Facebook

FB_LOGGED_OUTConstant 
public static const FB_LOGGED_OUT:String = gvFacebookLoggedout

Dispatched when the user has logged out with Facebook

FB_LOGIN_CANCELEDConstant 
public static const FB_LOGIN_CANCELED:String = gvFacebookLoginCancelled

Dispatched When the User cancelled Facebook Login

FB_LOGIN_FAILEDConstant 
public static const FB_LOGIN_FAILED:String = gvFacebookLoginFailed

Dispatched When Facebook Login fails

FB_REQUEST_FAILEDConstant 
public static const FB_REQUEST_FAILED:String = gvFbRequestFailed

Dispatched when a Facebook Graph Request has failed

FB_REQUEST_RESPONSEConstant 
public static const FB_REQUEST_RESPONSE:String = gvFbRawResponse

Dispatched when a Facebook Graph Request returns a response