We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
ReferencesLocation KitAndroidcom.huawei.hms.locationClass SummaryLocationSettingsStatusCodes

LocationSettingsStatusCodes

Expand

Class Info

public class LocationSettingsStatusCodes extends CommonStatusCodes

Location setting status code.

Public Field Summary

Expand

Qualifier and Type

Field and Description

static final int

RESOLUTION_REQUIRED

Status code indicating a location setting failure, which is used by getStatusCode().

static final int

SETTINGS_CHANGE_UNAVAILABLE

Specific location setting status code, which is used by getStatusCode().

Public Fields

RESOLUTION_REQUIRED

Expand

Fields

public static final int RESOLUTION_REQUIRED

Status code indicating a location setting failure. (Information can be provided to instruct users to modify location settings to solve the problem.)

RESOLUTION_REQUIRED: 6

For details about other constant values, please refer to Constant Values.

SETTINGS_CHANGE_UNAVAILABLE

Expand

Fields

public static final int SETTINGS_CHANGE_UNAVAILABLE

Location setting status code.

SETTINGS_CHANGE_UNAVAILABLE: 8502

For details about other constant values, please refer to Constant Values.