Interface for listening to Google Play Services errors.


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).


contextContextAn Android Context instance. This is always the global application context
availabilityApiGoogleApiAvailabilityThe GoogleApiAvailability instance that may be used to resolve the error.
errorCodeintThe error code, check GoogleApiAvailability.isGooglePlayServicesAvailable(Context)for details