AudioRecord.IOnRoutingChangedListener.OnRoutingChanged(AudioRecord) Method

Definition

Called when the routing of an AudioRecord changes from either and explicit or policy rerouting.

[Android.Runtime.Register("onRoutingChanged", "(Landroid/media/AudioRecord;)V", "GetOnRoutingChanged_Landroid_media_AudioRecord_Handler:Android.Media.AudioRecord/IOnRoutingChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public void OnRoutingChanged (Android.Media.AudioRecord? audioRecord);
[<Android.Runtime.Register("onRoutingChanged", "(Landroid/media/AudioRecord;)V", "GetOnRoutingChanged_Landroid_media_AudioRecord_Handler:Android.Media.AudioRecord/IOnRoutingChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnRoutingChanged : Android.Media.AudioRecord -> unit

Parameters

audioRecord
AudioRecord
Attributes

Remarks

Called when the routing of an AudioRecord changes from either and explicit or policy rerouting. Use #getRoutedDevice() to retrieve the newly routed-from device.

Java documentation for android.media.AudioRecord.OnRoutingChangedListener.onRoutingChanged(android.media.AudioRecord).

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