Files
nearby/cpp/core_v2/params.h
T
Alexey Polyudov c673bf6ac0 Roll forward to cl/328359974
Change-Id: If2b57ecc852aecf7dea454648f485fd7c08e72a9
2020-08-25 11:27:27 -07:00

29 lines
753 B
C++

#ifndef CORE_V2_PARAMS_H_
#define CORE_V2_PARAMS_H_
#include <string>
#include "core_v2/listeners.h"
#include "platform_v2/base/byte_array.h"
namespace location {
namespace nearby {
namespace connections {
// Used by Discovery in Core::RequestConnection().
// Used by Advertising in Core::StartAdvertising().
struct ConnectionRequestInfo {
// 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;
};
} // namespace connections
} // namespace nearby
} // namespace location
#endif // CORE_V2_PARAMS_H_