使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
gpg::ConnectionRequest
#include <nearby_connection_types.h>
建立连接的请求。
摘要
公共属性
载荷
std::vector< uint8_t > gpg::ConnectionRequest::payload
remote_endpoint_id
std::string gpg::ConnectionRequest::remote_endpoint_id
remote_endpoint_name
std::string gpg::ConnectionRequest::remote_endpoint_name
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# gpg::ConnectionRequest Struct Reference\n\ngpg::ConnectionRequest\n======================\n\n`#include \u003cnearby_connection_types.h\u003e`\n\nA request to establish a connection.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [payload](#structgpg_1_1_connection_request_1a28023285a3a3aa00ff67567517ceafef) | `std::vector\u003c uint8_t \u003e` A custom message sent with the connection request. |\n| [remote_endpoint_id](#structgpg_1_1_connection_request_1a5255399171cda9c7aacd60eeec37b635) | `std::string` The ID of the remote endpoint that is requesting a connection. |\n| [remote_endpoint_name](#structgpg_1_1_connection_request_1ac4f4c3030d3649975e90b55fa53e3f69) | `std::string` The name of the instance that is requesting a connection. |\n\nPublic attributes\n-----------------\n\n### payload\n\n```c++\nstd::vector\u003c uint8_t \u003e gpg::ConnectionRequest::payload\n``` \nA custom message sent with the connection request. \n\n### remote_endpoint_id\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_id\n``` \nThe ID of the remote endpoint that is requesting a connection. \n\n### remote_endpoint_name\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_name\n``` \nThe name of the instance that is requesting a connection."]]