Language

AmbientBacklightSettings Constructor

Definition

Constructs AmbientBacklightSettings.

[Android.Runtime.Register(".ctor", "(IIIIIZI)V", "", ApiSince=36)]
public AmbientBacklightSettings(Android.Media.Quality.AmbientBacklightSettingsSource source, int maxFps, Android.Graphics.Format colorFormat, int horizontalZonesNumber, int verticalZonesNumber, bool isLetterboxOmitted, int threshold);
[<Android.Runtime.Register(".ctor", "(IIIIIZI)V", "", ApiSince=36)>]
new Android.Media.Quality.AmbientBacklightSettings : Android.Media.Quality.AmbientBacklightSettingsSource * int * Android.Graphics.Format * int * int * bool * int -> Android.Media.Quality.AmbientBacklightSettings

Parameters

source
AmbientBacklightSettingsSource

Value is one of the following: None; Audio; Video; AudioVideo

maxFps
Int32

The maximum number of backlight frames per second.

colorFormat
Format

Value is one of the following: Rgba8888; Rgbx8888; RgbaF16; Rgba1010102; Rgb888; Rgb565

horizontalZonesNumber
Int32

The number of color zones across each row.

verticalZonesNumber
Int32

The number of rows of color zones.

isLetterboxOmitted
Boolean

Whether to exclude the black bars above and below letterboxed content from backlight detection.

threshold
Int32

The color-difference threshold below which a zone's color change is ignored.

Attributes

Remarks

Constructs AmbientBacklightSettings.

Java documentation for android.media.quality.AmbientBacklightSettings.AmbientBacklightSettings(int, int, int, int, int, boolean, 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