Language

AmbientBacklightMetadata Constructor

Definition

Constructs AmbientBacklightMetadata.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;IIIII[I)V", "", ApiSince=36)]
public AmbientBacklightMetadata(string packageName, Android.Media.Quality.AmbientBacklightMetadataAlgorithm compressAlgorithm, Android.Media.Quality.AmbientBacklightSettingsSource source, Android.Graphics.Format colorFormat, int horizontalZonesNumber, int verticalZonesNumber, int[] zonesColors);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;IIIII[I)V", "", ApiSince=36)>]
new Android.Media.Quality.AmbientBacklightMetadata : string * Android.Media.Quality.AmbientBacklightMetadataAlgorithm * Android.Media.Quality.AmbientBacklightSettingsSource * Android.Graphics.Format * int * int * int[] -> Android.Media.Quality.AmbientBacklightMetadata

Parameters

packageName
String

The package name to associate with this metadata.

compressAlgorithm
AmbientBacklightMetadataAlgorithm

Value is one of the following: ALGORITHM_NONE; ALGORITHM_RLE

source
AmbientBacklightSettingsSource

Value is one of the following: AmbientBacklightSettings.SOURCE_NONE; AmbientBacklightSettings.SOURCE_AUDIO; AmbientBacklightSettings.SOURCE_VIDEO; AmbientBacklightSettings.SOURCE_AUDIO_VIDEO

colorFormat
Format

Value is one of the following: PixelFormat.RGBA_8888; PixelFormat.RGBX_8888; PixelFormat.RGBA_F16; PixelFormat.RGBA_1010102; PixelFormat.RGB_888; PixelFormat.RGB_565

horizontalZonesNumber
Int32

The number of color zones across each row.

verticalZonesNumber
Int32

The number of rows of color zones.

zonesColors
Int32[]

The color data for the zones, ordered from left to right within each row and from the top row to the bottom row.

Attributes

Remarks

Constructs AmbientBacklightMetadata.

Java documentation for android.media.quality.AmbientBacklightMetadata.AmbientBacklightMetadata(java.lang.String, int, int, int, int, int, 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