| Package | com.distriqt.extension.facebookapi.events |
| Class | public class ShareAPIEvent |
| Inheritance | ShareAPIEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| errorCode : int = -1 | ShareAPIEvent | ||
| errorMessage : String = null | ShareAPIEvent | ||
| postId : String = null | ShareAPIEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ShareAPIEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false) | ShareAPIEvent | ||
clone():Event [override] | ShareAPIEvent | ||
| Constant | Defined 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 | ||
| errorCode | property |
public var errorCode:int = -1
| errorMessage | property |
public var errorMessage:String = null
| postId | property |
public var postId:String = null
| ShareAPIEvent | () | Constructor |
public function ShareAPIEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)type:String | |
postId:String (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 |
| CANCELLED | Constant |
public static const CANCELLED:String = facebookapi:shareapi:cancelledDispatched if the share api call was cancelled
| COMPLETED | Constant |
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.
| ERROR | Constant |
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.