From 93b7fcbec417bc308ce110906219d335c710547c Mon Sep 17 00:00:00 2001 From: Anay Wadhera Date: Wed, 10 Apr 2024 14:31:02 -0400 Subject: [PATCH] Clean up formatting a bit more --- sharing/android/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharing/android/README.md b/sharing/android/README.md index fe8f473f..af2a4629 100644 --- a/sharing/android/README.md +++ b/sharing/android/README.md @@ -76,12 +76,12 @@ val sendFolderIntent = Intent("com.google.android.gms.nearby.SEND_FOLDER") ``` -## The slice API +## Slice API The nearby module in GMSCore provides a third-party accessible slice to bind to, to provide live data on nearby targets using Nearby Share. Clicking on any of these targets will take you to the main Nearby Share screen, where the transfer will begin and continually update the progress. The slice URI is `content://com.google.android.gms.nearby.sharing/scan`. Upon first launch after install, you will be prompted to grant permission to the client application. After that, the slice will be kept up to date with the latest targets nearby. -## How to use the API ## +### How to use the API Example code: ```kotlin // Derive the Slice URI.