Android SDK Version
  • java.lang.Object
    • com.facebook.gamingservices.cloudgaming.CloudGameLoginHandler

public class CloudGameLoginHandler
extends java.lang.Object
Constructor Summary
Constructor and Description
CloudGameLoginHandler() 
Method Summary
Modifier and TypeMethod and Description
static AccessTokeninit(Context context)
Fetch Game Login information from Cloud and initalize current AccessToken
static AccessTokeninit(Context context, int timeoutInSec)
Fetch Game Login information from Cloud and initalize current AccessToken with timeout
static booleanisRunningInCloud()
Return whether this App is running in FB's Cloud Environment or not.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

CloudGameLoginHandler

public CloudGameLoginHandler()
Method Detail

init

public static AccessToken init(Context context)
                        throws FacebookException
Fetch Game Login information from Cloud and initalize current AccessToken
Parameters:
context - application context
Throws:

init

public static AccessToken init(Context context,
                               int timeoutInSec)
                        throws FacebookException
Fetch Game Login information from Cloud and initalize current AccessToken with timeout
Parameters:
context - application context
timeoutInSec - timeout in second
Throws:

isRunningInCloud

public static boolean isRunningInCloud()
Return whether this App is running in FB's Cloud Environment or not.