Share via


CameraAccessException.MaxCamerasInUse Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Camera2.CameraAccessErrorType enum directly instead of this field.

The system-wide limit for number of open cameras or camera resources has been reached, and more camera devices cannot be opened or torch mode cannot be turned on until previous instances are closed.

[Android.Runtime.Register("MAX_CAMERAS_IN_USE", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.CameraAccessErrorType enum directly instead of this field.")]
public const int MaxCamerasInUse = 5;
[<Android.Runtime.Register("MAX_CAMERAS_IN_USE", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.CameraAccessErrorType enum directly instead of this field.")>]
val mutable MaxCamerasInUse : int

Field Value

Value = 5
Attributes

Remarks

Java documentation for android.hardware.camera2.CameraAccessException.MAX_CAMERAS_IN_USE.

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