目录

The capture package of HUAWEI Awareness Kit contains the beacon status, behavior, headset status, location, time, weather, ambient light, Bluetooth car stereo connection status, and capability support status.

Classes

Class nameClass description
BeaconStatusResponseResponse to the request for obtaining the beacon status, which can be obtained by calling the getBeaconStatus method provided by CaptureClient.
BehaviorResponseResponse to the request for obtaining the behavior status, which can be obtained by calling the getBehavior method provided by CaptureClient.
HeadsetStatusResponseResponse to the request for obtaining the headset status, which can be obtained by calling the getHeadsetStatus method provided by CaptureClient.
LocationResponseResponse to the location request. Your app can call the getLocation method provided by CaptureClient to obtain the last geographical location response or call the getCurrentLocation method to obtain the current geographical location response.
TimeCategoriesResponseResponse to the time status request, which can be obtained by calling the getTimeCategories method provided by CaptureClient.
AmbientLightResponseResponse to the illuminance query request, which can be obtained by calling the getLightIntensity method provided by CaptureClient.
WeatherStatusResponse

Response to the weather query request. You can call the getWeatherByDevice method provided by CaptureClient to obtain the weather of the current location of a device, call the getWeatherByIP method to obtain the weather of the location of an IP address, or call the getWeatherbyPosition method to obtain the weather of a specified position.

WeatherPositionRequest parameter class, which is used to pass address information to obtain weather information. The address information includes six attributes: country, province, city, district, county, and language type.
BluetoothStatusResponseResponse to the Bluetooth car stereo status query request, which can be obtained by calling the getBluetoothStatus method provided by CaptureClient.

CapabilityResponse

Response to the capability query request, which can be obtained by calling the querySupportingCapabilities method provided by CaptureClient.