MediaPlayer.RemoveOnRoutingChangedListener Method

Definition

Removes an AudioRouting.OnRoutingChangedListener which has been previously added to receive rerouting notifications.

[Android.Runtime.Register("removeOnRoutingChangedListener", "(Landroid/media/AudioRouting$OnRoutingChangedListener;)V", "GetRemoveOnRoutingChangedListener_Landroid_media_AudioRouting_OnRoutingChangedListener_Handler", ApiSince=28)]
public virtual void RemoveOnRoutingChangedListener (Android.Media.IAudioRoutingOnRoutingChangedListener? listener);
[<Android.Runtime.Register("removeOnRoutingChangedListener", "(Landroid/media/AudioRouting$OnRoutingChangedListener;)V", "GetRemoveOnRoutingChangedListener_Landroid_media_AudioRouting_OnRoutingChangedListener_Handler", ApiSince=28)>]
abstract member RemoveOnRoutingChangedListener : Android.Media.IAudioRoutingOnRoutingChangedListener -> unit
override this.RemoveOnRoutingChangedListener : Android.Media.IAudioRoutingOnRoutingChangedListener -> unit

Parameters

listener
IAudioRoutingOnRoutingChangedListener

The previously added AudioRouting.OnRoutingChangedListener interface to remove.

Implements

Attributes

Remarks

Java documentation for android.media.MediaPlayer.removeOnRoutingChangedListener(android.media.OnRoutingChangedListener).

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