interface SmartGeofencesRefreshFailureReason {
    FEATURE_NOT_ENABLED: "FEATURE_NOT_ENABLED";
    NETWORK_ERROR: "NETWORK_ERROR";
    NETWORK_USAGE_RESTRICTED: "NETWORK_USAGE_RESTRICTED";
    NO_USER: "NO_USER";
    SERVER_ERROR: "SERVER_ERROR";
    TOO_MANY_FREQUENT_CALLS: "TOO_MANY_FREQUENT_CALLS";
    UNEXPECTED_ERROR: "UNEXPECTED_ERROR";
    USER_DISABLED_REMOTELY: "USER_DISABLED_REMOTELY";
}

Properties

FEATURE_NOT_ENABLED

The feature is not enabled for your app.

NETWORK_ERROR

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

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 SentianceCore.setIsAllowedToUseMobileData core module's mobile usage API.

NO_USER

No Sentiance user is present on device. Call SentianceCore.createUser to create a user.

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.

UNEXPECTED_ERROR

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

USER_DISABLED_REMOTELY

The user is disabled remotely.