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
GuidesAwareness KitAbout the ServiceService Introduction

Service Introduction

Awareness Kit provides your app with the ability to obtain contextual information including users' current time, location, behavior, audio device status, ambient light, weather, and nearby beacons. Your app can gain insight into a user's current situation more efficiently, making it possible to deliver a smarter, more considerate user experience.

Supported Devices

Expand

Capability

Device

HMS Core (APK) Version

Time awareness (capture and barrier)

  • Huawei phones (EMUI 7.0 or later)
  • Non-Huawei phones (Android 7.0 or later)

4.0.2.300 or later

Audio device status awareness (capture and barrier)

Ambient light awareness (capture and barrier)

Screen status awareness (capture and barrier)

Wi-Fi status awareness (capture and barrier)

Weather awareness (capture)

Dark mode awareness (capture)

  • Huawei phones (EMUI 10.0 or later)
  • Non-Huawei phones (Android 10.0 or later)

Behavior awareness (capture and barrier)

Huawei phones (EMUI 9.1 or later) powered by Kirin chips

App status awareness (capture)

Huawei phones (EMUI 7.0 or later)

Location awareness (capture and barrier)

Beacon awareness (capture and barrier)

Data donation

Huawei phones (HarmonyOS 2.0 or later)

Advantages

  • Converged: Multi-dimensional and evolvable awareness capabilities can be called in a unified manner.
  • Accurate: The synergy of hardware and software makes data acquisition more accurate and efficient.
  • Fast: On-chip processing of local service requests and nearby access of cloud services promise a faster service response.
  • Economical: Sharing awareness capabilities avoids separate interactions between apps and the device, reducing system resource consumption. Collaborating with the EMUI (or Magic UI) and Kirin chip, Awareness Kit can achieve the best possible performance with low power consumption.

Capture API, Barrier API, and Donate API

  • Capture API

    The Capture API allows your app to request the current user status, such as time, location, behavior, and whether a headset is connected. For example, after your app runs, it can request the user's time and location in order to recommend entertainment activities available nearby at weekends to the user.

  • Barrier API

    The Barrier API allows your app to set a barrier for specific contextual conditions. When the conditions are met, your app will receive a notification. For example, a notification is triggered when an audio device connects to a mobile phone for an audio device status barrier about connection, or when the illuminance is less than 100 lux for an ambient light barrier on illuminance of less than 100 lux. You can also combine different types of barriers for your app to support different use cases. For example, your app can recommend nearby services if the user has stayed in a specified business zone (geofence) for the preset period of time (time barrier).

    After your app registers with a barrier, your app can be automatically started when the barrier is triggered. This is because the barrier function of Awareness Kit can run in the background. Your app can then recommend services based on the user's current situation.

  • Donate API

    The Donate API allows partners of Awareness Kit to donate labels of their apps/services to Awareness Kit. In this way, Awareness Kit can further standardize and elaborate its definitions for different scenarios and open up its scenario-based capabilities. This enables Awareness Kit to verify user information before feature prediction to realize more accurate service recommendation. Consequently, Awareness Kit helps deliver a higher click-through rate and better user experience.

Other Methods for Obtaining the Awareness Capability

HUAWEI Push Kit: Automatically push messages based on the user's current situation. Messages can be triggered based on the user's situation to precisely meet the user's different requirements in different scenarios. For details, please refer to the Automated Notification (Beta).

Supported Countries/Regions

For details, please refer to Supported Countries/Regions.

Search in Guides
Enter a keyword.