#ifndef CORE_V2_PARAMS_H_ #define CORE_V2_PARAMS_H_ #include #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_