LoudnessCodecController.IOnLoudnessCodecUpdateListener.OnLoudnessCodecUpdate Method

Definition

Contains the MediaCodec key/values that can be set directly to configure the loudness of the handle's corresponding decoder (see MediaCodec#setParameters(Bundle)).

[Android.Runtime.Register("onLoudnessCodecUpdate", "(Landroid/media/MediaCodec;Landroid/os/Bundle;)Landroid/os/Bundle;", "GetOnLoudnessCodecUpdate_Landroid_media_MediaCodec_Landroid_os_Bundle_Handler:Android.Media.LoudnessCodecController/IOnLoudnessCodecUpdateListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual Android.OS.Bundle OnLoudnessCodecUpdate (Android.Media.MediaCodec mediaCodec, Android.OS.Bundle codecValues);
[<Android.Runtime.Register("onLoudnessCodecUpdate", "(Landroid/media/MediaCodec;Landroid/os/Bundle;)Landroid/os/Bundle;", "GetOnLoudnessCodecUpdate_Landroid_media_MediaCodec_Landroid_os_Bundle_Handler:Android.Media.LoudnessCodecController/IOnLoudnessCodecUpdateListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnLoudnessCodecUpdate : Android.Media.MediaCodec * Android.OS.Bundle -> Android.OS.Bundle
override this.OnLoudnessCodecUpdate : Android.Media.MediaCodec * Android.OS.Bundle -> Android.OS.Bundle

Parameters

mediaCodec
MediaCodec

the mediaCodec that will receive the new parameters

codecValues
Bundle

contains loudness key/value pairs that can be set directly on the mediaCodec. The listener can modify these values with their own edits which will be returned for the mediaCodec configuration

Returns

a Bundle which contains the original computed codecValues aggregated with user edits. The platform will configure the associated MediaCodecs with the returned Bundle params.

Attributes

Remarks

Contains the MediaCodec key/values that can be set directly to configure the loudness of the handle's corresponding decoder (see MediaCodec#setParameters(Bundle)).

Java documentation for android.media.LoudnessCodecController.OnLoudnessCodecUpdateListener.onLoudnessCodecUpdate(android.media.MediaCodec, android.os.Bundle).

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