SmartGeofencesRefreshFailureReason

Represents the failure reason of a smart geofences refresh call.

NETWORK_USAGE_RESTRICTED

Failed to refresh the monitored geofences due to network usage being restricted. In most cases, this means the device is connected to a mobile data network, but you have disabled mobile data network usage using the setIsAllowedToUseMobileData(boolean) API.

NETWORK_ERROR

A network error was encountered when attempting to refresh the monitored geofences.

SERVER_ERROR

A server error was encountered when attempting to refresh the monitored geofences.

TOO_MANY_FREQUENT_CALLS

The application tried to refresh the list of monitored geofences more than once within the last 30 seconds.

FEATURE_NOT_ENABLED

The feature is not enabled for your app.

UNEXPECTED_ERROR

An unexpected error occurred. Check the corresponding error details for more info.

Last updated