The Google Awareness API is a unified sensing platform that equips applications with the capabilities to react to, and process the different contexts that define a user’s environment and activities. Designed to optimize performance without compromising system resources, the API combines seven location and context signals into a single platform that allows developers to build powerful features that can contextualize a user’s environment and activities. The seven location and context signals are time, location, place, activity, beacons, headphones, and weather.
This API offers user friendly features and energy saving functionalities. A single Google Awareness API is sufficient to get an app running, and this simplifies the integration process and overall productivity. The API also processes raw signals to deliver filtered data about a user’s context. It is able to manage battery life while processing signals in ways that were not previously possible.
The Google Awareness API is anchored on the Fence API and Snapshot API. The Fence API allows an app to register the current situation of a user and conveys notification of the met combined context conditions. The Fence API sends callbacks of a registered fence to the destination app even when the app is off.
The Snapshot API, on the other hand, allows an app to send requests for information about the current context of a user. A Snapshot API-enabled app can request for context details such as a user’s current location and the location’s weather condition.
Google has added semantic time support to the time fencing feature of its Awareness API. Prior to semantic time support, time fencing was limited to absolute/canonical time (e.g. 10:00 AM). Semantic time enables the use of more natural time refererences (e.g. after sunset, the weekend, etc.)
This article is part of a 10-part series about interesting APIs that were added to our directory during 2016. Cognitive Computing APIs are covered in this segment. The APIs were chosen by our researchers, by popularity according to website traffic, and by mentions on social media.
We've added nine APIs to the ProgrammableWeb directory in categoriessuch as Music, Artificial Intelligence, and Currency. Highlights today include the Google Awareness API, which makes Android applications contexually aware, and the MarkLogic API. Here's a rundown of the latest additions.