จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
gpg::ConnectionRequest
#include <nearby_connection_types.h>
คำขอสร้างการเชื่อมต่อ
สรุป
แอตทริบิวต์สาธารณะ
|
payload
|
std::vector< uint8_t >
ข้อความที่กำหนดเองที่ส่งไปพร้อมกับคำขอเชื่อมต่อ
|
remote_endpoint_id
|
std::string
รหัสของอุปกรณ์ปลายทางระยะไกลที่ขอการเชื่อมต่อ
|
remote_endpoint_name
|
std::string
ชื่อของอินสแตนซ์ที่กำลังขอการเชื่อมต่อ
|
แอตทริบิวต์สาธารณะ
เปย์โหลด
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 และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],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."]]