←Select platform

NativeCamera Property

Summary

Gets the native camera object initialized by CameraView.

Syntax

C#
object NativeCamera {get;}  

Property Value

The native camera object, cast according to platform. For more information, see the following example.

Example

C#
#if __IOS__ 
         var ioscam = leadCamera.Camera.NativeCamera as AVFoundation.AVCaptureSession; 
#elif __ANDROID__ 
         var droidcam = leadCamera.Camera.NativeCamera as Android.Hardware.Camera; 
#endif 

Requirements

Target Platforms

See Also

ICamera Class

ICamera Members

ICamera

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Camera.Xamarin Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.