huawei_awareness library

Classes

AmbientLightBarrier
Illuminance barriers, including below, above, and range barriers.
ApplicationResponse
Response to the request for obtaining the app status corresponding to a package, which can be obtained by calling the getApplicationStatus method provided by AwarenessCaptureClient.
ApplicationStatus
Aqi
AwarenessBarrier
Abstract class for barrier types.
AwarenessBarrierClient
AwarenessCaptureClient
AwarenessStatusCodes
AwarenessUtilsClient
Barrier
Registered barrier information.
BarrierDeleteRequest
Deletes a barrier based on the key.
BarrierQueryRequest
Barrier query request.
BarrierQueryResponse
Barrier query response.
BarrierStatus
The barrier status consists of the barrier label, current status, previous status, and last status update time.
BeaconBarrier
Beacon barriers, including the discover, keep, and missed barriers. To use this barrier, you need to add the android.permission.ACCESS_FINE_LOCATION and android.permission.BLUETOOTH permissions.
BeaconData
Beacon information.
BeaconFilter
Represents filter for beacons.
BeaconResponse
Response to the request for obtaining the beacon status, which can be obtained by calling the getBeaconStatus method provided by AwarenessCaptureClient.
BehaviorBarrier
Behavior barriers, including the beginning, ending, and keeping barriers of behaviors.
BehaviorResponse
Response to the request for obtaining the user behavior, which can be obtained by calling the getBehavior method provided by AwarenessCaptureClient.
BluetoothBarrier
Bluetooth barriers, including the connecting, disconnecting, and keeping barriers. To use this barrier, you need to add the android.permission.BLUETOOTH permission.
BluetoothResponse
Response to the request for obtaining the Bluetooth car stereo status, which can be obtained by calling the getWeatherByPosition method provided by AwarenessCaptureClient.
BluetoothStatus
CapabilityResponse
Response to the request for obtaining supported capabilities, which can be obtained by calling the querySupportingCapabilities method provided by AwarenessCaptureClient.
CapabilityStatus
City
CombinationBarrier
Obtains the integrated barriers after the specific logic operation is executed.
DailyLiveInfo
DailySituation
DailyWeather
Weather information of the current day and the next six to seven days, including the moonrise, moonset, sunrise, sunset, lowest temperature and highest temperature (Celsius and Fahrenheit), local timestamp in the early morning, month phase, weather in daytime (specified by DailySituation), and weather at night (specified by DailySituation).
DarkModeResponse
Response to the request for obtaining the dark mode status, which can be obtained by calling the getDarkModeStatus method provided by AwarenessCaptureClient.
DetectedBehavior
HeadsetBarrier
Headset barriers, including the connecting, disconnecting, and keeping barriers. To use this barrier, you need to add the android.permission.BLUETOOTH permission.
HeadsetResponse
Response to the request for obtaining the headset status, which can be obtained by calling the getHeadsetStatus method provided by AwarenessCaptureClient.
HeadsetStatus
HourlyWeather
Weather information in the current hour and the next 24 hours, including the weather ID, time, temperature (Celsius and Fahrenheit), rainfall probability, and whether it is in the daytime or at night.
LightIntensityResponse
LiveInfo
Living index level for the day and the next one or two days, including the code and level for the current day and next one to two days. This class supports only data in China.
LocationBarrier
Location barriers, including the enter, exit, and stay barriers. To use this barrier, you need to add the android.permission.ACCESS_FINE_LOCATION permission. For Android 10 or later, you also need to add the android.permission.ACCESS_BACKGROUND_LOCATION permission.
LocationResponse
ScreenBarrier
Screen barriers, including the status keeping, screen-on, screen-off, and screen-unlock barriers. You should remind users that the screen status of their phones may be monitored by the app.
ScreenStatus
ScreenStatusResponse
Situation
Current weather information. The information includes the weather ID, humidity, atmospheric temperature (Celsius and Fahrenheit), somatosensory temperature (Celsius and Fahrenheit), wind direction, wind level, wind speed, atmospheric pressure, UV intensity, and update time.
TimeBarrier
Time barriers, including the barriers to be triggered at a time or periodically based on time. android.permission.ACCESS_FINE_LOCATION permission is required for TimeBarrier.inSunriseOrSunsetPeriod, TimeBarrier.duringPeriodOfDay and TimeBarrier.duringPeriodOfWeek barriers.
TimeCategoriesResponse
WeatherId
WeatherPosition
Request 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. An address has five attributes: country, province, city, district, and county. The city must be set and other four attributes are optional.
WeatherResponse
WeatherSituation
Current weather information, which consists of the current weather information (specified by Situation) and city information (specified by City).
WiFiBarrier
Wi-Fi barriers, including the keeping (Wi-Fi status keeping), connecting (Wi-Fi connection), disconnecting (Wi-Fi disconnection), enabling (WLAN enabling), and disabling (WLAN disabling) barriers.
WiFiResponse
WiFiStatus