Add DeviceMetadata to FastPairDevice after downloading it. It simplifies the code and prevents fetching the same metadata several times. FastPairDataEncryptorImpl does not download the metadata anymore. Metadata must have already been downloaded, otherwise we wouldn't know what FP protocol to use. PiperOrigin-RevId: 542490742
Nearby
Nearby is a collection of projects focused on connectivity that enable building cross-device experiences.
This is not an officially supported Google product.
Projects
Nearby Connections
A peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity.
Fast Pair
Utilizes Bluetooth Low Energy (BLE) to discover nearby Bluetooth devices without using significant phone battery, enabling "magical" scenarios based on device proximity.
Nearby Presence
An extension to Nearby Connections that features an extensible identity model for authentication and restricted visibility, resource management for system health, and proximity detection through sensor fusion.
Nearby for Embedded Systems
A lightweight implementation of Fast Pair intended for embedded systems.
Contributing
We encourage you to contribute to Nearby! Please check out the Contributing to Nearby guide for guidelines about how to proceed.
License
Nearby is released under the Apache License 2.0