gpg::ConnectionRequest

#include <nearby_connection_types.h>

A request to establish a connection.

Summary

Public attributes

payload
std::vector< uint8_t >
A custom message sent with the connection request.
remote_endpoint_id
std::string
The ID of the remote endpoint that is requesting a connection.
remote_endpoint_name
std::string
The name of the instance that is requesting a connection.

Public attributes

payload

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

A custom message sent with the connection request.

remote_endpoint_id

std::string gpg::ConnectionRequest::remote_endpoint_id

The ID of the remote endpoint that is requesting a connection.

remote_endpoint_name

std::string gpg::ConnectionRequest::remote_endpoint_name

The name of the instance that is requesting a connection.

Learn about changes in Android 16 that affect apps when they target Android 16 or higher.

Updated Mar 13, 2025

API reference packages and classes for Android app developers.

Updated Feb 10, 2025

Updated Jan 19, 2022