Companion app events
Using the message stream support, Providers can send events to their companion app when it is installed on the Seeker device. Note that if the companion app is not installed, these events will be dropped.
Message Group Name | Value |
---|---|
Companion app event | 0x02 |
Companion App Event Code Name | Value |
---|---|
Log buffer full | 0x01 |
Whenever a messages received by the Seeker with the companion app event group,
it will be passed to the companion app registered for the Provider.
Specifically, for the log buffer full event, companion apps should register a
broadcast receiver that supports the
com.google.android.gms.nearby.fastpair.ACTION_LOG_BUFFER_FULL
action in their
manifest.
Providers should use the log buffer full event to assist in optimizing log collection via their companion app on the Seeker side.