| Package | com.distriqt.extension.facebookapi.events |
| Class | public class ShareDialogEvent |
| Inheritance | ShareDialogEvent flash.events.Event |
This class represents events dispatched from the Share Dialogs.
See also
| Property | Defined By | ||
|---|---|---|---|
| errorCode : int = -1 | ShareDialogEvent | ||
| errorMessage : String = null | ShareDialogEvent | ||
| postId : String = null | ShareDialogEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ShareDialogEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| ShareDialogEvent | ||
clone():Event [override] | ShareDialogEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| DIALOG_CANCELLED : String = facebookapi:dialog:cancelled [static]
Dispatched when the user cancelled a share dialog
| ShareDialogEvent | ||
| DIALOG_COMPLETED : String = facebookapi:dialog:completed [static]
Dispatched when the Facebook share dialog has completed successfully. | ShareDialogEvent | ||
| DIALOG_ERROR : String = facebookapi:dialog:error [static]
Dispatched when an error occurred posting from a dialog
errorMessage will contain details on the error that occurred. | ShareDialogEvent | ||
| errorCode | property |
public var errorCode:int = -1
| errorMessage | property |
public var errorMessage:String = null
| postId | property |
public var postId:String = null
| ShareDialogEvent | () | Constructor |
public function ShareDialogEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)Constructor
Parameterstype: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 |
| DIALOG_CANCELLED | Constant |
public static const DIALOG_CANCELLED:String = facebookapi:dialog:cancelledDispatched when the user cancelled a share dialog
| DIALOG_COMPLETED | Constant |
public static const DIALOG_COMPLETED:String = facebookapi:dialog:completed
Dispatched when the Facebook share dialog has completed successfully.
postId will contain the id of the post created.
| DIALOG_ERROR | Constant |
public static const DIALOG_ERROR:String = facebookapi:dialog:error
Dispatched when an error occurred posting from a dialog
errorMessage will contain details on the error that occurred.