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

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