mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Roll forward to cl/328359974
Change-Id: If2b57ecc852aecf7dea454648f485fd7c08e72a9
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "core_v2/listeners.h"
|
||||
#include "platform_v2/base/byte_array.h"
|
||||
|
||||
namespace location {
|
||||
namespace nearby {
|
||||
@@ -12,11 +13,11 @@ namespace connections {
|
||||
// Used by Discovery in Core::RequestConnection().
|
||||
// Used by Advertising in Core::StartAdvertising().
|
||||
struct ConnectionRequestInfo {
|
||||
// name - A human readable name for this endpoint, to appear on
|
||||
// other devices.
|
||||
// listener - A set of callbacks notified when remote endpoints request a
|
||||
// connection to this endpoint.
|
||||
std::string name;
|
||||
// endpoint_info - Identifing information about this endpoint (eg. name,
|
||||
// device type).
|
||||
// listener - A set of callbacks notified when remote endpoints request a
|
||||
// connection to this endpoint.
|
||||
ByteArray endpoint_info;
|
||||
ConnectionListener listener;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user