Packagecom.distriqt.extension.facebook.share.model
Classpublic class GameRequestContentBuilder
InheritanceGameRequestContentBuilder Inheritance Object



Public Methods
 MethodDefined By
  
Constructor
GameRequestContentBuilder
  
build():Object
Builds the object for sharing using GameRequestDialog.show
GameRequestContentBuilder
  
Set the message to display in the game request
GameRequestContentBuilder
  
Set the list of Ids for recipients of this game request
GameRequestContentBuilder
  
Set the title to display in the the dialog
GameRequestContentBuilder
Constructor Detail
GameRequestContentBuilder()Constructor
public function GameRequestContentBuilder()

Constructor

Method Detail
build()method
public function build():Object

Builds the object for sharing using GameRequestDialog.show

Returns
Object — The content Object

See also

setMessage()method 
public function setMessage(message:String):GameRequestContentBuilder

Set the message to display in the game request

Parameters

message:String — The message for the content

Returns
GameRequestContentBuilderGameRequestContentBuilder instance for chaining calls
setRecipients()method 
public function setRecipients(recipients:Array):GameRequestContentBuilder

Set the list of Ids for recipients of this game request

Parameters

recipients:Array — Array of user ids

Returns
GameRequestContentBuilderGameRequestContentBuilder instance for chaining calls
setTitle()method 
public function setTitle(title:String):GameRequestContentBuilder

Set the title to display in the the dialog

Parameters

title:String — The title for the dialog

Returns
GameRequestContentBuilderGameRequestContentBuilder instance for chaining calls