DiscoveredDevice class

Constructors

DiscoveredDevice.new({required String name, required String ip, required DeviceType type, String? model, String? location, String? avTransportControlUrl, String? renderingControlUrl, String? id, String? friendlyName, int? port, Map<String, String>? extra, List<String>? mdnsTypes})
DiscoveredDevice.fromAirplay({required String ip, required int port, required String serviceName, required Map<String, String> txtMap, List<String>? mdnsTypes, String? location})
AirPlay TXT record 轉換建構
factory
DiscoveredDevice.fromChromecast({required String ip, required int port, required String serviceName, required Map<String, String> txtMap})
Chromecast TXT record 轉換建構
factory
DiscoveredDevice.fromDlnaMediaServer({required String name, required String ip, required String location, String? model})
DLNA Media Server 建構工廠
factory
DiscoveredDevice.fromDlnaRenderer({required String name, required String ip, required String location, String? avTransportControlUrl, String? renderingControlUrl, String? model})
DLNA Renderer 建構工廠
factory

Properties

avTransportControlUrl String?
final
extra Map<String, String>?
final
friendlyName String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
ip String
final
isAirplay bool
no setter
isAirplayRx bool
no setter
isAirplayRxAudio bool
no setter
isAirplayRxVideo bool
no setter
isAirplayTx bool
no setter
isChromecast bool
no setter
isChromecastAudio bool
no setter
isChromecastDongle bool
no setter
isDlnaMediaServer bool
no setter
isDlnaRenderer bool
no setter
location String?
final
mdnsTypes List<String>?
final
model String?
final
name String
final
port int?
final
renderingControlUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DeviceType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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