gpg::ConnectionResponse

#include <nearby_connection_types.h>

A response to a connection request.

Summary

Public types

StatusCode enum
Status code values returned in the status field.

Public attributes

payload
std::vector< uint8_t >
A custom message that the app can send with the connection response.
remote_endpoint_id
std::string
The ID of the remote endpoint to which a connection request was sent.
status
The status code indicating whether the connection was accepted.

Public types

StatusCode

 gpg::ConnectionResponse::StatusCode

Status code values returned in the status field.

Public attributes

payload

std::vector< uint8_t > gpg::ConnectionResponse::payload

A custom message that the app can send with the connection response.

remote_endpoint_id

std::string gpg::ConnectionResponse::remote_endpoint_id

The ID of the remote endpoint to which a connection request was sent.

status

StatusCode gpg::ConnectionResponse::status

The status code indicating whether the connection was accepted.