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

Leadtools.Camera.Xamarin Assembly