目录

Overview

Function classes of the Location SDK.

Interface Summary

Interface

Description

Geofence

Geofence.

Class Summary

Class

Description

ActivityConversionData

Activity conversion event.

ActivityConversionInfo

Activity conversion information.

ActivityConversionInfo.Builder

Class for building activity conversion information.

ActivityConversionRequest

Activity conversion request body.

ActivityIdentificationResponse

Activity identification result.

ActivityIdentification

Entry for accessing the activity identification service.

ActivityIdentificationData

Identified activity type.

ActivityIdentificationService

Interaction access point of activity identification.

ActivityConversionResponse

Activity conversion result.

FusedLocationProviderClient

Fused location class, which is used for interaction during location.

CAUTION:
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

Geofence.Builder

Geofence builder.

GeofenceData

Returned geofence data.

GeofenceErrorCodes

Geofence result codes.

GeofenceRequest

Geofence request body.

GeofenceRequest.Builder

Geofence request builder.

GeofenceService

Entry for accessing the geofence service.

HWLocation

Location information containing the address.

CAUTION:
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

LocationAvailability

Device location availability.

LocationCallback

Callback class for reporting location information.

LocationEnhanceService

Extension class for obtaining the navigation status and checking whether the user device supports high-precision location.

CAUTION:
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

LocationRequest

Location request class.

CAUTION:
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

LocationResult

Location data information class.

LocationServices

Entry for accessing the location service.

LocationSettingsResponse

Response to the location check request. This class is used to obtain the status of the current location-related settings.

LocationSettingsRequest

Class for specifying the location service types and checking the location settings to obtain optimal functionality of all requested services.

LocationSettingsRequest.Builder

Location setting request builder.

LocationSettingsResult

Location setting result.

LocationSettingsStates

Current location-related setting status.

LocationSettingsStatusCodes

Location setting status code.

LogConfig

Log configuration class.

NavigationRequest

Navigation request class.

CAUTION:
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

NavigationResult

Navigation result class.

CAUTION:
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

SettingsClient

Class for checking location-related settings.