-
public final class GooglePlayServicesHelperHelper to get GooglePlayServices data with introspection
-
-
Method Summary
Modifier and Type Method Description static StringgetGooglePlayServicesAvailabilityString(Integer availability)Retrieve the google play services' isGooglePlayServicesAvailable result as a string static IntegergetGooglePlayServicesAvailabilityInteger(Context context)static IntegergetGooglePlayServicesLibVersion()Retrieve the google play services version if the lib regardless if it is availableon runtime or not static IntegerisFCMAvailable(Context context)Check if FCM is available -
-
Method Detail
-
getGooglePlayServicesAvailabilityString
static String getGooglePlayServicesAvailabilityString(Integer availability)
Retrieve the google play services' isGooglePlayServicesAvailable result as a string
- Parameters:
availability- The Google Play Service availability code
-
getGooglePlayServicesAvailabilityInteger
static Integer getGooglePlayServicesAvailabilityInteger(Context context)
-
getGooglePlayServicesLibVersion
static Integer getGooglePlayServicesLibVersion()
Retrieve the google play services version if the lib regardless if it is availableon runtime or not
-
isFCMAvailable
static Integer isFCMAvailable(Context context)
Check if FCM is available
- Parameters:
context- Android's context
-
-
-
-