Sdílet prostřednictvím


AudioDeviceCallback.OnAudioDevicesRemoved(AudioDeviceInfo[]) Method

Definition

Called by the AudioManager to indicate that one or more audio devices have been disconnected.

[Android.Runtime.Register("onAudioDevicesRemoved", "([Landroid/media/AudioDeviceInfo;)V", "GetOnAudioDevicesRemoved_arrayLandroid_media_AudioDeviceInfo_Handler", ApiSince=23)]
public virtual void OnAudioDevicesRemoved (Android.Media.AudioDeviceInfo[]? removedDevices);
[<Android.Runtime.Register("onAudioDevicesRemoved", "([Landroid/media/AudioDeviceInfo;)V", "GetOnAudioDevicesRemoved_arrayLandroid_media_AudioDeviceInfo_Handler", ApiSince=23)>]
abstract member OnAudioDevicesRemoved : Android.Media.AudioDeviceInfo[] -> unit
override this.OnAudioDevicesRemoved : Android.Media.AudioDeviceInfo[] -> unit

Parameters

removedDevices
AudioDeviceInfo[]

An array of AudioDeviceInfo objects corresponding to any newly removed audio devices.

Attributes

Remarks

Called by the AudioManager to indicate that one or more audio devices have been disconnected.

Java documentation for android.media.AudioDeviceCallback.onAudioDevicesRemoved(android.media.AudioDeviceInfo[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to