mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: I9850950db8bd84f0904ea1a413151887f52098cf
29 lines
738 B
C++
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_
|