Package | com.distriqt.extension.facebook.gamingservices |
Interface | public interface GameRequestDialog extends flash.events.IEventDispatcher |
Method | Defined By | ||
---|---|---|---|
canShow(content:Object):Boolean
Indicates whether it is possible to show the dialog for specified content
| GameRequestDialog | ||
show(content:Object):Boolean | 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 | () | method |
public function canShow(content:Object):Boolean
Indicates whether it is possible to show the dialog for specified content
Parameters
content:Object — Dialog content created using a GameRequestContentBuilder
|
Boolean — true if the dialog type can be shown and false otherwise
|
show | () | method |
public function show(content:Object):Boolean
Parameters
content:Object — Dialog content created using a GameRequestContentBuilder
|
Boolean — true if the dialog will be displayed and false if it is not available
|
facebook_gamerequest_dialog_cancel | Event |
com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent
com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent.CANCEL
Dispatched when the user cancelled a game request dialog
facebook_gamerequest_dialog_complete | Event |
com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent
com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent.COMPLETE
Dispatched when the Facebook game request dialog has completed successfully.
requestId
will contain the id of the game request.
facebook_gamerequest_dialog_error | Event |
com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent
com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent.ERROR
Dispatched when an error occurred posting from a dialog
errorMessage
will contain details on the error that occurred.