Share via


LoudnessCodecController.Create Method

Definition

Overloads

Create(Int32)

Creates a new instance of LoudnessCodecController

Create(Int32, IExecutor, LoudnessCodecController+IOnLoudnessCodecUpdateListener)

Create(Int32)

Creates a new instance of LoudnessCodecController

[Android.Runtime.Register("create", "(I)Landroid/media/LoudnessCodecController;", "", ApiSince=35)]
public static Android.Media.LoudnessCodecController Create (int sessionId);
[<Android.Runtime.Register("create", "(I)Landroid/media/LoudnessCodecController;", "", ApiSince=35)>]
static member Create : int -> Android.Media.LoudnessCodecController

Parameters

sessionId
Int32

the session ID of the track that will receive data from the added MediaCodec's

Returns

the LoudnessCodecController instance

Attributes

Remarks

Creates a new instance of LoudnessCodecController

This method should be used when the client does not need to alter the codec loudness parameters before they are applied to the audio decoders. Otherwise, use #create(int, Executor, OnLoudnessCodecUpdateListener).

Java documentation for android.media.LoudnessCodecController.create(int).

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

Create(Int32, IExecutor, LoudnessCodecController+IOnLoudnessCodecUpdateListener)

[Android.Runtime.Register("create", "(ILjava/util/concurrent/Executor;Landroid/media/LoudnessCodecController$OnLoudnessCodecUpdateListener;)Landroid/media/LoudnessCodecController;", "", ApiSince=35)]
public static Android.Media.LoudnessCodecController Create (int sessionId, Java.Util.Concurrent.IExecutor executor, Android.Media.LoudnessCodecController.IOnLoudnessCodecUpdateListener listener);
[<Android.Runtime.Register("create", "(ILjava/util/concurrent/Executor;Landroid/media/LoudnessCodecController$OnLoudnessCodecUpdateListener;)Landroid/media/LoudnessCodecController;", "", ApiSince=35)>]
static member Create : int * Java.Util.Concurrent.IExecutor * Android.Media.LoudnessCodecController.IOnLoudnessCodecUpdateListener -> Android.Media.LoudnessCodecController

Parameters

sessionId
Int32
executor
IExecutor

Returns

Attributes

Applies to