Package 

Class CloudGameLoginHandler

    • Method Summary

      Modifier and Type Method Description
      static synchronized AccessToken init(Context context) Fetch Game Login information from Cloud and initalize current AccessToken
      static synchronized AccessToken init(Context context, int timeoutInSec) Fetch Game Login information from Cloud and initalize current AccessToken with timeout
      static boolean isRunningInCloud() 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
    • Method Detail

      • init

        @Nullable() static synchronized AccessToken init(Context context)

        Fetch Game Login information from Cloud and initalize current AccessToken

        Parameters:
        context - application context
      • init

        @Nullable() static synchronized AccessToken init(Context context, int timeoutInSec)

        Fetch Game Login information from Cloud and initalize current AccessToken with timeout

        Parameters:
        context - application context
        timeoutInSec - timeout in second
      • isRunningInCloud

         static boolean isRunningInCloud()

        Return whether this App is running in FB's Cloud Environment or not.