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

指出是否接受連線的狀態碼。