目录

Constant-values

com.huawei.hms.location.ActivityConversionInfo

Qualifier and Type

Constant Field

Value

public static final int

ENTER_ACTIVITY_CONVERSION

0

public static final int

EXIT_ACTIVITY_CONVERSION

1

com.huawei.hms.location.ActivityIdentificationData

Qualifier and Type

Constant Field

Value

public static final int

VEHICLE

100

public static final int

BIKE

101

public static final int

FOOT

102

public static final int

STILL

103

public static final int

OTHERS

104

public static final int

WALKING

107

public static final int

RUNNING

108

com.huawei.hms.location.FusedLocationProviderClient

Qualifier and Type

Constant Field

Value

public static final String

KEY_MOCK_LOCATION

mockLocation

com.huawei.hms.location.Geofence

Qualifier and Type

Constant Field

Value

public static final int

ENTER_GEOFENCE_CONVERSION

1

public static final int

EXIT_GEOFENCE_CONVERSION

2

public static final int

DWELL_GEOFENCE_CONVERSION

4

public static final long

GEOFENCE_NEVER_EXPIRE

-1L

com.huawei.hms.location.GeofenceErrorCodes

Qualifier and Type

Constant Field

Value

public static final int

GEOFENCE_UNAVAILABLE

10200

public static final int

GEOFENCE_NUMBER_OVER_LIMIT

10201

public static final int

GEOFENCE_PENDINGINTENT_OVER_LIMIT

10202

public static final int

GEOFENCE_INSUFFICIENT_PERMISSION

10204

public static final int

GEOFENCE_REQUEST_TOO_OFTEN

10205

com.huawei.hms.location.GeofenceRequest

Qualifier and Type

Constant Field

Value

public static final int

ENTER_INIT_CONVERSION

1

public static final int

EXIT_INIT_CONVERSION

2

public static final int

DWELL_INIT_CONVERSION

4

public static final int

COORDINATE_TYPE_WGS_84

1

com.huawei.hms.location.LocationRequest

Qualifier and Type

Constant Field

Value

public static final int

PRIORITY_HIGH_ACCURACY

100

public static final int

PRIORITY_BALANCED_POWER_ACCURACY

102

public static final int

PRIORITY_LOW_POWER

104

public static final int

PRIORITY_NO_POWER

105

public static final int

PRIORITY_HD_ACCURACY

200

public static final int

PRIORITY_INDOOR

300

public static final int

PRIORITY_HIGH_ACCURACY_AND_INDOOR

400

public static final int

COORDINATE_TYPE_WGS84

0

public static final int

COORDINATE_TYPE_GCJ02

1

com.huawei.hms.location.LocationSettingsStatusCodes

Qualifier and Type

Constant Field

Value

public static final int

RESOLUTION_REQUIRED

6

public static final int

SETTINGS_CHANGE_UNAVAILABLE

8502

com.huawei.hms.location.NavigationRequest

Qualifier and Type

Constant Field

Value

public static final int

OVERPASS

1

public static final int

IS_SUPPORT_EX

2