Camera.Parameters.WhiteBalance Property

Definition

Caution

deprecated

Gets the current white balance setting. -or- Sets the white balance.

[System.Obsolete("deprecated")]
public virtual string? WhiteBalance { [Android.Runtime.Register("getWhiteBalance", "()Ljava/lang/String;", "GetGetWhiteBalanceHandler")] get; [Android.Runtime.Register("setWhiteBalance", "(Ljava/lang/String;)V", "GetSetWhiteBalance_Ljava_lang_String_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getWhiteBalance", "()Ljava/lang/String;", "GetGetWhiteBalanceHandler")>]
[<set: Android.Runtime.Register("setWhiteBalance", "(Ljava/lang/String;)V", "GetSetWhiteBalance_Ljava_lang_String_Handler")>]
member this.WhiteBalance : string with get, set

Property Value

current white balance. null if white balance setting is not supported.

Attributes

Remarks

Property getter documentation:

Gets the current white balance setting.

Java documentation for android.hardware.Camera.Parameters.getWhiteBalance().

Property setter documentation:

Sets the white balance. Changing the setting will release the auto-white balance lock. It is recommended not to change white balance and AWB lock at the same time.

Java documentation for android.hardware.Camera.Parameters.setWhiteBalance(java.lang.String).

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

See also