Compartilhar via


Camera.Parameters.SceneMode Property

Definition

Caution

deprecated

Gets the current scene mode setting. -or- Sets the scene mode.

[System.Obsolete("deprecated")]
public virtual string? SceneMode { [Android.Runtime.Register("getSceneMode", "()Ljava/lang/String;", "GetGetSceneModeHandler")] get; [Android.Runtime.Register("setSceneMode", "(Ljava/lang/String;)V", "GetSetSceneMode_Ljava_lang_String_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getSceneMode", "()Ljava/lang/String;", "GetGetSceneModeHandler")>]
[<set: Android.Runtime.Register("setSceneMode", "(Ljava/lang/String;)V", "GetSetSceneMode_Ljava_lang_String_Handler")>]
member this.SceneMode : string with get, set

Property Value

one of SCENE_MODE_XXX string constant. null if scene mode setting is not supported.

Attributes

Remarks

Property getter documentation:

Gets the current scene mode setting.

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

Property setter documentation:

Sets the scene mode. Changing scene mode may override other parameters (such as flash mode, focus mode, white balance). For example, suppose originally flash mode is on and supported flash modes are on/off. In night scene mode, both flash mode and supported flash mode may be changed to off. After setting scene mode, applications should call getParameters to know if some parameters are changed.

Java documentation for android.hardware.Camera.Parameters.setSceneMode(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