gpg::ConnectionResponse

#include <nearby_connection_types.h>

对连接请求的响应。

摘要

公共类型

StatusCode 枚举
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。

资质

StatusCode gpg::ConnectionResponse::status

表示连接是否被接受的状态代码。