![]() These samples are distributed under the terms of the Apache License (Version 2.0). Patches are encouraged, and may be submitted according to the instructions in ![]() ![]() It is designed to be used with Kotlin coroutines, which are lightweight threads that allow for easy and efficient concurrency. LocationAddress (Kotlin) - Use the Geocode API to display a device's location as an address. Kotlin Flow is a reactive stream processing library for Kotlin that provides a way to emit and consume streams of data asynchronously and efficiently. Geofencing (Java) - Create geofences and process enter and exit transitions. If you've found an error in these samples, please file an issue: ForegroundLocationUpdates (Kotlin) - Get updates about a device's location using a bound foreground service. "gradlew build" command or use "Import Project" in Android Studio. These samples use the Gradle build system. SleepSampleKotlin (Kotlin) - Demonstrates use of the Sleep API to recognize a user's sleep activity. LocationUpdatesBackgroundKotlin (Kotlin) - Demonstrates the correct way to retrieve location updates in the background. LocationAddress (Kotlin) - Use the Geocode API to display a device's location as an address. This repo contains the following samples:Īctivity Recognition (Kotlin) - Demonstrates theĪctivityRecognitionApi to determine the user's current activity.ĪwarenessApisSampleKotlin (Kotlin) - Demonstrates use of the Awareness APIs to intelligently react to the current situation of the user.įoregroundLocationUpdates (Kotlin) - Get updates about a device's location using a bound foreground service. The location and context APIs harness the sensors and signals of mobile devices to provide awareness of user actions and their environment, enabling delightful and engaging experiences that simplify user interactions, provide assistance, and help users to better understand themselves.
0 Comments
Leave a Reply. |