AmbientBacklightMetadata Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.