google_play_services
Google Play services APIs included with the Firebase C++ SDK.
Summary
These APIs are Android-specific.
Enumerations |
|
---|---|
Availability{
|
enum Possible availability states for Google Play services. |
Functions |
|
---|---|
CheckAvailability(JNIEnv *env, jobject activity)
|
Check whether Google Play services is available on this device.
|
MakeAvailable(JNIEnv *env, jobject activity)
|
::firebase::Future< void >
Attempt to make Google Play services available, by installing, updating, activating, or whatever else needs to be done.
|
MakeAvailableLastResult()
|
::firebase::Future< void >
Get the future result from the most recent call to MakeAvailable().
|
Enumerations
Availability
Availability
Possible availability states for Google Play services.
Functions
CheckAvailability
Availability CheckAvailability( JNIEnv *env, jobject activity )
Check whether Google Play services is available on this device.
See also: MakeAvailable()
Details | |
---|---|
Returns |
True if Google Play services is available and up-to-date, false if not. If false was returned, you can call MakeAvailable() to attempt to resolve the issue.
|
MakeAvailable
::firebase::Future< void > MakeAvailable( JNIEnv *env, jobject activity )
Attempt to make Google Play services available, by installing, updating, activating, or whatever else needs to be done.
Details | |
---|---|
Returns |
A future result. When completed, the Error will be 0 if Google Play services are now available, or nonzero if still unavailable.
|
MakeAvailableLastResult
::firebase::Future< void > MakeAvailableLastResult()
Get the future result from the most recent call to MakeAvailable().
See also: MakeAvailable()
Details | |
---|---|
Returns |
The future result from the most recent call to MakeAvailable(). When completed, the Error will be 0 if Google Play services are now available, or nonzero if still unavailable.
|