| Package | com.myflashlab.air.extensions.googleGames |
| Class | public class Invitations |
| Inheritance | Invitations flash.events.EventDispatcher |
| Method | Defined By | ||
|---|---|---|---|
load($sortOrder:int):void
load the list of invitations for the current game. | Invitations | ||
showNativeWindow():void
Show a native window to let the user see and manage any outstanding invitations
| Invitations | ||
| Constant | Defined By | ||
|---|---|---|---|
| INVITATION_TYPE_REAL_TIME : int = 0 [static] | Invitations | ||
| INVITATION_TYPE_TURN_BASED : int = 1 [static] | Invitations | ||
| load | () | method |
public function load($sortOrder:int):voidload 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():voidShow a native window to let the user see and manage any outstanding invitations
| INVITATION_TYPE_REAL_TIME | Constant |
public static const INVITATION_TYPE_REAL_TIME:int = 0| INVITATION_TYPE_TURN_BASED | Constant |
public static const INVITATION_TYPE_TURN_BASED:int = 1