PerfectVolumeControl class
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
Static Properties
-
hideUI
← bool
-
根据
hide
隐藏或显示
Hide or show according to hide
no getter
-
stream
→ Stream<double>
-
获得监听器流
Get listener stream
no setter
-
volume
→ Future<double>
-
获得设备当前音量,此属性为 getVolume 的简单写法
Get the current volume of the device,This property is a simple way to write getvolume
no setter
Static Methods
-
getVolume()
→ Future<double>
-
获得设备当前音量
Get the current volume of the device
-
setVolume(double volume)
→ Future<void>
-
根据
volume
设置设备音量,音量取值范围为 0.0 - 1.0
Set the device volume according to volume
, and the volume range is 0.0 - 1.0