Packagecom.distriqt.extension.facebookapi.events
Classpublic class ShareAPIEvent
InheritanceShareAPIEvent Inheritance flash.events.Event

Describes events from the ShareAPI



Public Properties
 PropertyDefined By
  errorCode : int = -1
ShareAPIEvent
  errorMessage : String = null
ShareAPIEvent
  postId : String = null
ShareAPIEvent
Public Methods
 MethodDefined By
  
ShareAPIEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
ShareAPIEvent
  
clone():Event
[override]
ShareAPIEvent
Public Constants
 ConstantDefined By
  CANCELLED : String = facebookapi:shareapi:cancelled
[static] Dispatched if the share api call was cancelled
ShareAPIEvent
  COMPLETED : String = facebookapi:shareapi:completed
[static] Dispatched when the Facebook share api call has completed successfully.
ShareAPIEvent
  ERROR : String = facebookapi:shareapi:error
[static] Dispatched when an error occurred posting to the share api errorMessage will contain details on the error that occurred.
ShareAPIEvent
Property Detail
errorCodeproperty
public var errorCode:int = -1

errorMessageproperty 
public var errorMessage:String = null

postIdproperty 
public var postId:String = null

Constructor Detail
ShareAPIEvent()Constructor
public function ShareAPIEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
postId:String (default = null)
 
errorCode:int (default = -1)
 
errorMessage:String (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
CANCELLEDConstant
public static const CANCELLED:String = facebookapi:shareapi:cancelled

Dispatched if the share api call was cancelled

COMPLETEDConstant 
public static const COMPLETED:String = facebookapi:shareapi:completed

Dispatched when the Facebook share api call has completed successfully.

postId will contain the id of the post created.

ERRORConstant 
public static const ERROR:String = facebookapi:shareapi:error

Dispatched when an error occurred posting to the share api

errorMessage will contain details on the error that occurred.