Google's new Awareness API Now Available to Developers

At Google I/O last month, the company announced a slew of new API's. One of those was the new Awareness API, which allows developers to see what you are doing. This API gives them a general sense of what you're doing (i.e. browsing Facebook, searching Google, etc) and not the specifics. With the Awareness API, there are basically two ways that developers can monitor their users' status. This includes the use of the Snapshot API and the Fence API.

Now the Snapshot API here allows the app to easily request information regarding the user's current context. So the developer could have the app return the user's current location and current weather conditions. Which can be useful for a slew of different actions within an app. Meanwhile the Fence API allows your app to react to changes in user's context. As well as when it matches a specific set of conditions. It's pretty similar to the Geofencing API that's already available with Android.

Many users likely won't notice that an app that they use, uses these new API's. But they can come in handy. Imagine an app knowing that you are walking outside and have headphones plugged in or paired over Bluetooth. It could ask you if you want to start playing music, without you needing to even open the app. Additionally, if it has your current location and weather data, it could send you a quick notification saying it's about to rain, or a bad storm is on the way. Making things much easier for users. But then on the other hand, this API could become pretty annoying and will likely be abused by developers. Especially when it comes to ads. Luckily, most apps will allow you to turn these types of notifications off, if you wish.

According to Google, this new API is part of Google Play Services 9.2, which has already rolled out to everyone. This means that if you are using an app that uses these new Awareness API's, you should see these notifications coming in rather soon. It's pretty likely that most apps don't actually use the Awareness API, or the Snapshot API and Fence API, just yet.

Copyright ©2019 Android Headlines. All Rights Reserved
This post may contain affiliate links. See our privacy policy for more information.
You May Like These
More Like This:
About the Author
2018/11/alex-2.jpg

Alexander Maxham

Section Editor
Alex has written for Androidheadlines since 2012 as Editor of the site and traveled the World to many of the biggest Smartphone and Technology events. Alex has a background in Technology and IT and Deep Passion for Everything Android and Google. His specialties lay in Smartphones of all budgets, Accessories, Home Automation and more. Contact him at [email protected]