AI-generated Key Takeaways
-
PlayGamesSdkis the entry point for the Play Games SDK. -
It includes a constant
MIN_ANDROID_API_VERSIONwhich has a value of 19. -
The SDK can be initialized using the
initializemethod, which takes aContextas a parameter. -
Initialization is often handled automatically by
PlayGamesInitProviderunless disabled.
Entry point for the Play Games SDK.
Constant Summary
| int | MIN_ANDROID_API_VERSION |
Public Method Summary
| static void |
initialize(Context
context)
Initializes the Play Games SDK using the Game services application id defined
in the application's manifest.
|
Inherited Method Summary
Constants
public static final int MIN_ANDROID_API_VERSION
Public Methods
public static void initialize (Context context)
Initializes the Play Games SDK using the Game services application id defined in the application's manifest.
It is only necessary to call this method if you disable the
PlayGamesInitProvider provider declared by the Play Games SDK. Under
normal circumstances PlayGamesInitProvider will automatically initialize
the Play Games SDK at application startup.
Parameters
| context | a Context
used to initialize the Play Games SDK. |
|---|