DeviceDiscoveryProvider class abstract

Abstract interface for protocol-specific device discovery.

Each casting protocol (DLNA, Chromecast, AirPlay) implements this interface to provide device discovery via its native mechanism (SSDP, mDNS, etc.).

Implementers

Constructors

DeviceDiscoveryProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
protocol CastProtocol
The protocol this provider discovers devices for.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases all resources held by this provider.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startDiscovery({Duration timeout}) Stream<List<CastDevice>>
Starts discovering devices, emitting updated lists as devices appear.
stopDiscovery() → void
Stops an active discovery scan.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited