NearbyTag

data class NearbyTag(val displayName: String, val peerKey: String) : Tag

A Tag advertising a Nearby Connections endpoint.

peerKey doubles as the local endpointId assigned by the Nearby runtime. Note: local endpointIds are not stable across sessions, so the stable peer identity is exchanged during the connect handshake — see ConnectStateMachine.

Constructors

Link copied to clipboard
constructor(displayName: String, peerKey: String)

Properties

Link copied to clipboard
open override val displayName: String
Link copied to clipboard
open override val peerKey: String