Fast Pair allows OEM companion apps to be deeply integrated into the pairing and usage experience. There are multiple integration points that can optionally be utilized to engage users after they've finished Fast Pairing.
Installation during the Out-Of-Box Experience (OOBE)
Fast Pair allows users to download the companion app for their headset as the final step of the Out-Of-Box Experience (OOBE). This is presented to the user in a notification telling them that pairing has finished and that they can either download the app if it isn't already installed, or else open the app and start using it.
To get started with this feature, add your companion app's package name to the device details on the console.
Companion apps launched by Fast Pair include two extra data elements:
android.bluetooth.device.extra.DEVICE
- the Bluetooth Device that triggered the notification.com.google.android.gms.nearby.discovery.fastpair.MODEL_ID
- ajava.lang.String
that represents the model ID of the paired device.
Firmware update Intent
When firmware version of a connected device is out of date, or precisely
speaking different than the firmware version configured in the device console,
Fast Pair will notify the companion app with a
com.google.android.gms.nearby.fastpair.ACTION_FIRMWARE_UPDATE_BROADCAST
Intent
after a firmware version check. The Intent has the following extra information:
com.google.android.gms.nearby.fastpair.EXTRA_LOCAL_FIRMWARE_VERSION
, the firmware version of the connected devicecom.google.android.gms.nearby.fastpair.EXTRA_UPDATE_NOTIFICATION_SHOWN
, set totrue
if Fast Pair has shown a notification