AudioDeviceCallback.OnAudioDevicesAdded(AudioDeviceInfo[]) Method

Definition

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

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

Parameters

addedDevices
AudioDeviceInfo[]

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

Attributes

Remarks

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

Java documentation for android.media.AudioDeviceCallback.onAudioDevicesAdded(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