AudioDeviceCallback.OnAudioDevicesAdded(AudioDeviceInfo[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.