CameraAccessException.MaxCamerasInUse 字段

定义

注意

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

已达到打开相机或相机资源数的系统范围限制,在关闭以前的实例之前,无法打开更多相机设备,或者无法打开火炬模式。

[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

字段值

Value = 5
属性

注解

适用于 . 的 android.hardware.camera2.CameraAccessException.MAX_CAMERAS_IN_USEJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于