AudioDevicePlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AudioDevicePlatform
- Implementers
Constructors
Properties
-
audioDeviceChanged
→ Stream<
AudioDeviceChangedEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
enumAudioDevices(
) → Future< Set< AudioOutputDevice> > - 枚举所有音频设备
-
getAudioDevicePickerView(
) → Widget? - 音频选择原生组件view,仅支持Harmony
-
getSelectedAudioDevice(
) → Future< AudioOutputDevice> - 获取当前选中的音频设备
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restartBluetooth(
) → Future< void> -
selectAudioDevice(
AudioOutputDevice device) → Future< void> - 选择音频设备
-
setAudioProfile(
int profile) → Future< void> - 设置音频配置
-
showAudioDevicePicker(
) → Future< void> - 显示音频设备选择器,仅支持iOS
-
stop(
) → Future< void> - 离开房间时调用,清理音频状态
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AudioDevicePlatform
-
getter/setter pair