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