gpg::ConnectionResponse
#include <nearby_connection_types.h>
对连接请求的响应。
摘要
公共类型 |
|
---|---|
StatusCode
|
enum 在 status 字段中返回的状态码值。 |
公共属性 |
|
---|---|
payload
|
std::vector< uint8_t >
应用可以随连接响应发送的自定义消息。
|
remote_endpoint_id
|
std::string
发送连接请求的远程端点 ID。
|
status
|
指示连接是否被接受的状态码。
|
公共类型
StatusCode
gpg::ConnectionResponse::StatusCode
在 status
字段中返回的状态码值。
公共属性
payload
std::vector< uint8_t > gpg::ConnectionResponse::payload
应用可以随连接响应发送的自定义消息。
remote_endpoint_id
std::string gpg::ConnectionResponse::remote_endpoint_id
发送连接请求的远程端点 ID。