mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Collapse success&failure callbacks into one
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
This commit is contained in:
committed by
Copybara-Service
parent
454d22b19a
commit
0e2111afc2
@@ -23,7 +23,6 @@ namespace nearby {
|
||||
using ::nearby::internal::PrivateCredential;
|
||||
using ::nearby::internal::PublicCredential;
|
||||
using ::nearby::presence::CredentialSelector;
|
||||
using ::nearby::presence::GenerateCredentialsCallback;
|
||||
using ::nearby::presence::GetPrivateCredentialsResultCallback;
|
||||
using ::nearby::presence::GetPublicCredentialsResultCallback;
|
||||
using ::nearby::presence::PublicCredentialType;
|
||||
|
||||
Reference in New Issue
Block a user