CameraManager.GetCameraDeviceSetup(String) 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.
Returns a CameraDevice.CameraDeviceSetup object for the given cameraId, which provides limited access to CameraDevice setup and query functionality without requiring an openCamera(String, StateCallback, Handler) call.
[Android.Runtime.Register("getCameraDeviceSetup", "(Ljava/lang/String;)Landroid/hardware/camera2/CameraDevice$CameraDeviceSetup;", "", ApiSince=35)]
public Android.Hardware.Camera2.CameraDevice.CameraDeviceSetup GetCameraDeviceSetup(string cameraId);
[<Android.Runtime.Register("getCameraDeviceSetup", "(Ljava/lang/String;)Landroid/hardware/camera2/CameraDevice$CameraDeviceSetup;", "", ApiSince=35)>]
member this.GetCameraDeviceSetup : string -> Android.Hardware.Camera2.CameraDevice.CameraDeviceSetup
Parameters
- cameraId
- String
The unique identifier of the camera device for which CameraDevice.CameraDeviceSetup object must be constructed. This identifier must be present in getCameraIdList() This value cannot be null.
Returns
CameraDevice.CameraDeviceSetup object corresponding to the provided cameraId This value cannot be null.
- Attributes
Remarks
Returns a CameraDevice.CameraDeviceSetup object for the given cameraId, which provides limited access to CameraDevice setup and query functionality without requiring an openCamera(String, StateCallback, Handler) call. The CameraDevice can later be obtained either by calling openCamera(String, StateCallback, Handler), or CameraDevice.CameraDeviceSetup.openCamera.
Android reference for android.hardware.camera2.CameraManager.getCameraDeviceSetup.
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.