Sdílet prostřednictvím


Camera.Parameters.FlashMode Property

Definition

Caution

deprecated

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

[System.Obsolete("deprecated")]
public virtual string? FlashMode { [Android.Runtime.Register("getFlashMode", "()Ljava/lang/String;", "GetGetFlashModeHandler")] get; [Android.Runtime.Register("setFlashMode", "(Ljava/lang/String;)V", "GetSetFlashMode_Ljava_lang_String_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getFlashMode", "()Ljava/lang/String;", "GetGetFlashModeHandler")>]
[<set: Android.Runtime.Register("setFlashMode", "(Ljava/lang/String;)V", "GetSetFlashMode_Ljava_lang_String_Handler")>]
member this.FlashMode : string with get, set

Property Value

current flash mode. null if flash mode setting is not supported.

Attributes

Remarks

Property getter documentation:

Gets the current flash mode setting.

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

Property setter documentation:

Sets the flash mode.

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