Packagecom.myflashlab.air.extensions.fb
Classpublic class GameRequestContent
InheritanceGameRequestContent Inheritance Object

Describes the content that will be displayed by the GameRequestDialog



Public Properties
 PropertyDefined By
  actionType : int
the action type for this request.
GameRequestContent
  data : String
optional data which can be used for tracking; maximum length is 255 characters.
GameRequestContent
  filters : int
the filters for everybody/app users/non app users.
GameRequestContent
  message : String
the message users receiving the request will see.
GameRequestContent
  objectID : String
the open graph id of the object that action type will be performed on.
GameRequestContent
  recipients : Array
An array of user IDs, usernames or invite tokens of people to send request.
GameRequestContent
  recipientSuggestions : Array
a list of user ids suggested as request receivers
GameRequestContent
  title : String
an optional title for the dialog; maximum length is 50 characters.
GameRequestContent
Public Methods
 MethodDefined By
  
Constructor for initializing a new instance of this class.
GameRequestContent
  
toString():String
GameRequestContent
Public Constants
 ConstantDefined By
  ACTION_TYPE_ASKFOR : int = 2
[static]
GameRequestContent
  ACTION_TYPE_SEND : int = 1
[static]
GameRequestContent
  ACTION_TYPE_TURN : int = 3
[static]
GameRequestContent
  FILTERS_APP_NON_USERS : int = 2
[static]
GameRequestContent
  FILTERS_APP_USERS : int = 1
[static]
GameRequestContent
Property Detail
actionTypeproperty
actionType:int

the action type for this request.


Implementation
    public function get actionType():int
    public function set actionType(value:int):void
dataproperty 
data:String

optional data which can be used for tracking; maximum length is 255 characters.


Implementation
    public function get data():String
    public function set data(value:String):void
filtersproperty 
filters:int

the filters for everybody/app users/non app users.


Implementation
    public function get filters():int
    public function set filters(value:int):void
messageproperty 
message:String

the message users receiving the request will see. The maximum length is 60 characters.


Implementation
    public function get message():String
    public function set message(value:String):void
objectIDproperty 
objectID:String

the open graph id of the object that action type will be performed on. Only valid (and required) for ActionTypes SEND, ASKFOR


Implementation
    public function get objectID():String
    public function set objectID(value:String):void
recipientsproperty 
recipients:Array

An array of user IDs, usernames or invite tokens of people to send request. If this is not specified, a friend selector will be displayed and the user can select up to 50 friends.


Implementation
    public function get recipients():Array
    public function set recipients(value:Array):void
recipientSuggestionsproperty 
recipientSuggestions:Array

a list of user ids suggested as request receivers


Implementation
    public function get recipientSuggestions():Array
    public function set recipientSuggestions(value:Array):void
titleproperty 
title:String

an optional title for the dialog; maximum length is 50 characters.


Implementation
    public function get title():String
    public function set title(value:String):void
Constructor Detail
GameRequestContent()Constructor
public function GameRequestContent()

Constructor for initializing a new instance of this class.

Method Detail
toString()method
public function toString():String

Returns
String
Constant Detail
ACTION_TYPE_ASKFORConstant
public static const ACTION_TYPE_ASKFOR:int = 2

ACTION_TYPE_SENDConstant 
public static const ACTION_TYPE_SEND:int = 1

ACTION_TYPE_TURNConstant 
public static const ACTION_TYPE_TURN:int = 3

FILTERS_APP_NON_USERSConstant 
public static const FILTERS_APP_NON_USERS:int = 2

FILTERS_APP_USERSConstant 
public static const FILTERS_APP_USERS:int = 1