ICGooglePlayServicesHelper.Listener

Interface for listening to Google Play Services errors.

onAvailabilityError

This method is invoked when Google Play Services availability errors occur.

When an availability error occurs, the GoogleApiAvailability class should be used to determine if a resolution is available and to action the resolution.

📘

SDK functionality may be limited until the Google Play Services error is remedied.
For example, it may not be possible to receive a push notification on the affected device.

  Syntax: void onAvailabilityError(Context context, GoogleApiAvailability availabilityApi, int errorCode).

Parameters:

Parameter

Type

Description

context

Context

An Android Context instance. This is always the global application context

availabilityApi

GoogleApiAvailability

The GoogleApiAvailability instance that may be used to resolve the error.

errorCode

int

The error code, check GoogleApiAvailability.isGooglePlayServicesAvailable(Context)for details