public static interface

LocationClient.OnAddGeofencesResultListener

com.google.android.gms.location.LocationClient.OnAddGeofencesResultListener

Class Overview

The listener for receiving callbacks when the operation to add geofences completes.

Summary

Public Methods
abstract void onAddGeofencesResult(int statusCode, String[] geofenceRequestIds)
Called when the addGeofences(List, PendingIntent, OnAddGeofencesResultListener) operation completes successfully or unsuccessfully.

Public Methods

public abstract void onAddGeofencesResult (int statusCode, String[] geofenceRequestIds)

Called when the addGeofences(List, PendingIntent, OnAddGeofencesResultListener) operation completes successfully or unsuccessfully.

Parameters
statusCode the status code of the addGeofences operation. Possible status code SUCCESS, GEOFENCE_TOO_MANY_GEOFENCES, GEOFENCE_TOO_MANY_PENDING_INTENTS, GEOFENCE_NOT_AVAILABLE and ERROR.
geofenceRequestIds the list of geofence request IDs extracted from the List<Geofence> provided to the original addGeofences(List, PendingIntent, OnAddGeofencesResultListener) call