Condividi tramite


AudioManager.AudioPlaybackCallback.OnPlaybackConfigChanged Method

Definition

Called whenever the playback activity and configuration has changed.

[Android.Runtime.Register("onPlaybackConfigChanged", "(Ljava/util/List;)V", "GetOnPlaybackConfigChanged_Ljava_util_List_Handler", ApiSince=26)]
public virtual void OnPlaybackConfigChanged (System.Collections.Generic.IList<Android.Media.AudioPlaybackConfiguration>? configs);
[<Android.Runtime.Register("onPlaybackConfigChanged", "(Ljava/util/List;)V", "GetOnPlaybackConfigChanged_Ljava_util_List_Handler", ApiSince=26)>]
abstract member OnPlaybackConfigChanged : System.Collections.Generic.IList<Android.Media.AudioPlaybackConfiguration> -> unit
override this.OnPlaybackConfigChanged : System.Collections.Generic.IList<Android.Media.AudioPlaybackConfiguration> -> unit

Parameters

configs
IList<AudioPlaybackConfiguration>

list containing the results of AudioManager#getActivePlaybackConfigurations().

Attributes

Remarks

Called whenever the playback activity and configuration has changed.

Java documentation for android.media.AudioManager.AudioPlaybackCallback.onPlaybackConfigChanged(java.util.List<android.media.AudioPlaybackConfiguration>).

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