Package-level declarations

Types

Link copied to clipboard
interface Connection

A connection between two devices.

Link copied to clipboard
data class ConnectionCandidate(val id: String, val name: String, authenticationDigits: String?)

Connection candidate that represents a remote device. isIncomingConnection is used to distinguish between connections intitiated by this app and connections initiated by other apps.

Link copied to clipboard

Connection candidate event that is emitted when a connection candidate is discovered or lost by both AdvertiseManager and DiscoveryManager.

Link copied to clipboard

Connection event type for ConnectionCandidateEvent. If the event is DISCOVERED the candidate is added to the list of discovered candidates. If the event is LOST the candidate is removed from the list of discovered candidates.

Link copied to clipboard
interface Connector
Link copied to clipboard
class DirectConnection(val id: String, val name: String, receiveFlow: Flow<ByteArray>) : Connection

Direct implementation of Connection.