←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 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Camera.Xamarin Assembly