Files
nearby/cpp/core/params.h
T
Alexey Polyudov 2155b3ddeb Roll forward to cl/338482889
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I9850950db8bd84f0904ea1a413151887f52098cf
2020-10-22 10:47:34 -07:00

29 lines
738 B
C++

#ifndef CORE_PARAMS_H_
#define CORE_PARAMS_H_
#include <string>
#include "core/listeners.h"
#include "platform/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_PARAMS_H_