A common interface implemented by CameraView.
Xamarin Framework Deprecation
As of LEADTOOLS v23, The cross-platform Xamarin framework has been deprecated and replaced with LEADTOOLS .NET MAUI framework.
For any LEADTOOLS Xamarin apps you have already built, we recommend you migrate to the LEADTOOLS .NET MAUI framework. To help you with the migration, review the LEADTOOLS .NET MAUI tutorials to get you started.
This change is driven by Microsoft's announcement to end Xamarin support.
public interface ICamera
When CameraView is initialized, the Camera property contains an instance of ICamera that can be used to access and modify camera settings. See example Resolution.
Member | Description |
---|---|
CameraHeight | Gets the camera's preview height. |
CameraWidth | Gets the camera's preview width. |
CaptureQuality | Gets and sets the CaptureQuality of this ICamera. |
CreateNativeCamera | Creates an instance of the native camera object. |
Focus | Triggers an Auto Focus routine. |
FocusMode | Gets and sets focus mode of this ICamera instance. |
FrameRate | Gets and sets the framerate of this ICamera instance. |
IsFlashSupported | Gets a value that indicates whether the device supports flash. |
IsFocusSupported | Gets a value that indicates whether the device supports any focus modes. |
IsRecording | Gets a value that indicates whether the device is currently recording video. |
MaxScaleFactor | Gets the maximum scaling or zooming factor supported by the device. |
NativeCamera | Gets the native camera object initialized by CameraView. |
NumberofCameras | Gets the number of hardware cameras on the device. |
Resolution | Gets and sets camera's output resolution. |
ScaleFactor | Gets and sets the zoom value for the selected camera. |
Start | Starts the camera preview for this CameraView. |
StartRecording | Starts video recording. |
Stop | Stops the camera preview for this CameraView. |
StopRecording | Stops video recording. |
TakePicture | Captures a still image as viewed on the screen's device. |