AudioTrack.IOnRoutingChangedListener.OnRoutingChanged(AudioTrack) 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 when the routing of an AudioTrack changes from either and explicit or policy rerouting.
[Android.Runtime.Register("onRoutingChanged", "(Landroid/media/AudioTrack;)V", "GetOnRoutingChanged_Landroid_media_AudioTrack_Handler:Android.Media.AudioTrack/IOnRoutingChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public void OnRoutingChanged (Android.Media.AudioTrack? audioTrack);
[<Android.Runtime.Register("onRoutingChanged", "(Landroid/media/AudioTrack;)V", "GetOnRoutingChanged_Landroid_media_AudioTrack_Handler:Android.Media.AudioTrack/IOnRoutingChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnRoutingChanged : Android.Media.AudioTrack -> unit
Parameters
- audioTrack
- AudioTrack
- Attributes
Remarks
Called when the routing of an AudioTrack changes from either and explicit or policy rerouting. Use #getRoutedDevice()
to retrieve the newly routed-to device.
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.