Package | com.distriqt.extension.facebook.share |
Interface | public interface GameRequestDialog extends flash.events.IEventDispatcher |
Property | Defined By | ||
---|---|---|---|
canShow : Boolean [read-only]
Indicates whether it is possible to show the dialog for specified GameRequestContent. | GameRequestDialog |
Method | Defined By | ||
---|---|---|---|
show(content:Object):Boolean
Shows a game request dialog using the provided content. | GameRequestDialog |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the user cancelled a Game Request dialog | GameRequestDialog | |||
Dispatched when the Facebook Game Request dialog has completed successfully. | GameRequestDialog | |||
Dispatched when an error occurred posting from a dialog errorMessage will contain details on the error that occurred. | GameRequestDialog |
canShow | property |
canShow:Boolean
[read-only] Indicates whether it is possible to show the dialog for specified GameRequestContent.
public function get canShow():Boolean
show | () | method |
public function show(content:Object):Boolean
Shows a game request dialog using the provided content.
You must create the content
using one of the GameRequestContentBuilder
builder.
Parameters
content:Object — Game request content created using the builder
|
Boolean — true if the dialog will be displayed and false if it is not available
|
facebook_gamerequest_dialog_cancel | Event |
com.distriqt.extension.facebook.share.events.GameRequestDialogEvent
com.distriqt.extension.facebook.share.events.GameRequestDialogEvent.CANCEL
Dispatched when the user cancelled a Game Request dialog
facebook_gamerequest_dialog_complete | Event |
com.distriqt.extension.facebook.share.events.GameRequestDialogEvent
com.distriqt.extension.facebook.share.events.GameRequestDialogEvent.COMPLETE
Dispatched when the Facebook Game Request dialog has completed successfully.
postId
will contain the id of the post created.
facebook_gamerequest_dialog_error | Event |
com.distriqt.extension.facebook.share.events.GameRequestDialogEvent
com.distriqt.extension.facebook.share.events.GameRequestDialogEvent.ERROR
Dispatched when an error occurred posting from a dialog
errorMessage
will contain details on the error that occurred.