Android.Hardware.Camera2.CameraManager.GetCameraCharacteristics Method

Syntax

[Android.Runtime.Register("getCameraCharacteristics", "(Ljava/lang/String;)Landroid/hardware/camera2/CameraCharacteristics;", "")]
public CameraCharacteristics GetCameraCharacteristics (string cameraId)

See Also

CameraManager.GetCameraIdList
Android.App.Admin.DevicePolicyManager.SetCameraDisabled(Android.Content.ComponentName, System.Boolean)

Parameters

cameraId
The id of the camera device to query

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the cameraId does not match any known camera device.
Android.Hardware.Camera2.CameraAccessExceptionif the camera is disabled by device policy, or the camera device has been disconnected.
Java.Lang.SecurityExceptionif the application does not have permission to access the camera

Remarks

Query the capabilities of a camera device. These capabilities are immutable for a given camera.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0