Packagecom.myflashlab.air.extensions.googleGames
Classpublic class Invitations
InheritanceInvitations Inheritance flash.events.EventDispatcher

A client to interact with invitations functionality.



Public Methods
 MethodDefined By
  
load($sortOrder:int):void
load the list of invitations for the current game.
Invitations
  
Show a native window to let the user see and manage any outstanding invitations
Invitations
Public Constants
 ConstantDefined By
  INVITATION_TYPE_REAL_TIME : int = 0
[static]
Invitations
  INVITATION_TYPE_TURN_BASED : int = 1
[static]
Invitations
Method Detail
load()method
public function load($sortOrder:int):void

load the list of invitations for the current game.

Parameters

$sortOrder:int — How to sort the returned invitations. Must be either GameServices.SORT_ORDER_MOST_RECENT_FIRST or GameServices.SORT_ORDER_SOCIAL_AGGREGATION.

showNativeWindow()method 
public function showNativeWindow():void

Show a native window to let the user see and manage any outstanding invitations

Constant Detail
INVITATION_TYPE_REAL_TIMEConstant
public static const INVITATION_TYPE_REAL_TIME:int = 0

INVITATION_TYPE_TURN_BASEDConstant 
public static const INVITATION_TYPE_TURN_BASED:int = 1