mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
29 lines
753 B
C++
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_
|