EntertainmentStreamRepo class

Constructors

EntertainmentStreamRepo()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

getDataAsRgb(String entertainmentConfigurationId, List<EntertainmentStreamCommand> commands) List<int>
Creates a packet to send to the bridge, using RGB color space encoding.
getDataAsXy(String entertainmentConfigurationId, List<EntertainmentStreamCommand> commands) List<int>
Creates a packet to send to the bridge, using XY+brightness color space encoding.
sendData(DtlsData dtlsData, List<int> packet) Future<bool>
Sends the packet through the DTLS connection in dtlsData.
startStreaming(Bridge bridge, String entertainmentConfigurationId, DtlsData dtlsData, {String decrypter(String ciphertext)?}) Future<bool>
Start streaming for the givin entertainmentConfiguration.
stopStreaming(Bridge bridge, String entertainmentConfigurationId, DtlsData dtlsData, {String decrypter(String ciphertext)?}) Future<bool>
Stop streaming for the givin entertainmentConfiguration.