CameraManager.GetCameraIdList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the list of currently connected camera devices by identifier, including cameras that may be in use by other camera API clients.
[Android.Runtime.Register("getCameraIdList", "()[Ljava/lang/String;", "")]
public string[] GetCameraIdList ();
[<Android.Runtime.Register("getCameraIdList", "()[Ljava/lang/String;", "")>]
member this.GetCameraIdList : unit -> string[]
Returns
The list of currently connected camera devices.
- Attributes
Exceptions
Remarks
Return the list of currently connected camera devices by identifier, including cameras that may be in use by other camera API clients.
Non-removable cameras use integers starting at 0 for their identifiers, while removable cameras have a unique identifier for each individual device, even if they are the same model.
This list doesn't contain physical cameras that can only be used as part of a logical multi-camera device.
Java documentation for android.hardware.camera2.CameraManager.getCameraIdList()
.
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.