Packagecom.distriqt.extension.facebook.gamingservices
Interfacepublic interface GameRequestDialog extends flash.events.IEventDispatcher



Public Methods
 MethodDefined By
  
canShow(content:Object):Boolean
Indicates whether it is possible to show the dialog for specified content
GameRequestDialog
  
show(content:Object):Boolean
GameRequestDialog
Events
 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
Method Detail
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

Returns
Booleantrue 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

Returns
Booleantrue if the dialog will be displayed and false if it is not available
Event Detail
facebook_gamerequest_dialog_cancel Event
Event Object Type: com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent
GameRequestDialogEvent.type property = com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent.CANCEL

Dispatched when the user cancelled a game request dialog
facebook_gamerequest_dialog_complete Event  
Event Object Type: com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent
GameRequestDialogEvent.type property = 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  
Event Object Type: com.distriqt.extension.facebook.gamingservices.events.GameRequestDialogEvent
GameRequestDialogEvent.type property = 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.