Nearby Presence scanning sessions may be very long. We need a way to notify the scanner that new credentials were added during scanning.
`SubscribeForPublicCredentials()` allows us to subscribe for such updates.
PiperOrigin-RevId: 502699345
Instead of two callbacks:
- void on_success(Result result)
- void on_failure(Status status)
use just one callback:
void on_result(StatusOr<Result> result)
PiperOrigin-RevId: 501912034
SaveCredentials does not to return the credentials that it has just saved. Returning a status will do.
Improved documentation.
PiperOrigin-RevId: 494280108