Google Celebrates Black History Month. See how.

fuchsia.bluetooth.fastpair

Added: 10

PROTOCOLS

Provider

Defined in fuchsia.bluetooth.fastpair/provider.fidl

Protocol to enable the Bluetooth Fast Pair Provider service on the system.

Enable

Request to enable the Fast Pair Provider service.

Only one client can register to enable the Fast Pair service. An Error will be returned for subsequent requests.

The lifetime of the service is tied to the provided watcher. To disable Fast Pair functionality, close the watcher.

  • request watcher The client end of the ProviderWatcher which determines the lifetime of the Fast Pair service.
  • response An empty response will be sent when the server has processed the request.
  • error Returns ALREADY_BOUND if a subsequent request is made to enable the service.

Request

NameType
watcher ProviderWatcher

Response

NameType
result Provider_Enable_Result

ProviderWatcher

Defined in fuchsia.bluetooth.fastpair/provider.fidl

Represents an active Fast Pair Provider service. The lifetime of the service is tied to this protocol.

Closing the protocol disables the service.

The system may close the protocol to communicate that the service was terminated for internal reasons.

OnPairingComplete

Called if the Fast Pair pairing procedure for a peer is successfully complete.

  • request id The unique ID associated with the connected Fast Pair Seeker peer.
  • response Each OnPairingComplete request should be acknowledged.

Request

NameType
id fuchsia.bluetooth/PeerId

Response

<EMPTY>

STRUCTS

Provider_Enable_Response

Defined in fuchsia.bluetooth.fastpair/provider.fidl

<EMPTY>

UNIONS

Provider_Enable_Result strict

Defined in fuchsia.bluetooth.fastpair/provider.fidl

OrdinalVariantTypeDescription
response Provider_Enable_Response
err zx/status