Class SBSDKUIFinderDocumentScannerViewController
- Namespace
- ScanbotSDK.iOS
- Assembly
- DocumentSDK.NET.iOS.dll
public class SBSDKUIFinderDocumentScannerViewController : SBSDKUICameraViewController, ISBSDKDocumentScannerViewControllerDelegate, INativeObject, IDisposable
- Inheritance
-
SBSDKUIFinderDocumentScannerViewController
- Implements
-
INativeObject
- Inherited Members
-
Constructors
SBSDKUIFinderDocumentScannerViewController()
public SBSDKUIFinderDocumentScannerViewController()
SBSDKUIFinderDocumentScannerViewController(NSCoder)
public SBSDKUIFinderDocumentScannerViewController(NSCoder coder)
Parameters
coder
NSCoder
SBSDKUIFinderDocumentScannerViewController(NSObjectFlag)
protected SBSDKUIFinderDocumentScannerViewController(NSObjectFlag t)
Parameters
t
NSObjectFlag
SBSDKUIFinderDocumentScannerViewController(NativeHandle)
protected SBSDKUIFinderDocumentScannerViewController(NativeHandle handle)
Parameters
handle
NativeHandle
Properties
ClassHandle
public override NativeHandle ClassHandle { get; }
Property Value
- NativeHandle
ContainerForEnableCameraView
public virtual UIView ContainerForEnableCameraView { get; }
Property Value
- UIView
Delegate
public SBSDKUIFinderDocumentScannerViewControllerDelegate? Delegate { get; set; }
Property Value
- SBSDKUIFinderDocumentScannerViewControllerDelegate
EnableCameraTextConfiguration
public virtual SBSDKUIEnableCameraTextConfiguration EnableCameraTextConfiguration { get; }
Property Value
- SBSDKUIEnableCameraTextConfiguration
EnableCameraUIConfiguration
public virtual SBSDKUIEnableCameraUIConfiguration EnableCameraUIConfiguration { get; }
Property Value
- SBSDKUIEnableCameraUIConfiguration
SupportedInterfaceOrientations
public virtual UIInterfaceOrientationMask SupportedInterfaceOrientations { get; }
Property Value
- UIInterfaceOrientationMask
WeakDelegate
public virtual NSObject? WeakDelegate { get; set; }
Property Value
- NSObject
Methods
CameraAccessDidChange(bool)
public virtual void CameraAccessDidChange(bool granted)
Parameters
granted
bool
public virtual void ConfigureStatusDetectionLabelForDetectionResult(SBSDKDocumentScannerViewController controller, SBSDKDetectionStatusLabel label, SBSDKDocumentDetectorResult? result)
Parameters
controller
SBSDKDocumentScannerViewController
label
SBSDKDetectionStatusLabel
result
SBSDKDocumentDetectorResult
CreateNew(SBSDKDocument?, SBSDKUIFinderDocumentScannerConfiguration, SBSDKUIFinderDocumentScannerViewControllerDelegate?)
public static SBSDKUIFinderDocumentScannerViewController CreateNew(SBSDKDocument? document, SBSDKUIFinderDocumentScannerConfiguration configuration, SBSDKUIFinderDocumentScannerViewControllerDelegate? @delegate)
Parameters
document
SBSDKDocument
configuration
SBSDKUIFinderDocumentScannerConfiguration
delegate
SBSDKUIFinderDocumentScannerViewControllerDelegate
Returns
- SBSDKUIFinderDocumentScannerViewController
CreateNew(SBSDKUIFinderDocumentScannerConfiguration, SBSDKUIFinderDocumentScannerViewControllerDelegate?)
public static SBSDKUIFinderDocumentScannerViewController CreateNew(SBSDKUIFinderDocumentScannerConfiguration configuration, SBSDKUIFinderDocumentScannerViewControllerDelegate? @delegate)
Parameters
configuration
SBSDKUIFinderDocumentScannerConfiguration
delegate
SBSDKUIFinderDocumentScannerViewControllerDelegate
Returns
- SBSDKUIFinderDocumentScannerViewController
DidFinish()
public virtual void DidFinish()
DidHideEnableCameraView()
public virtual void DidHideEnableCameraView()
DidSampleVideoFrameDetectionResult(SBSDKDocumentScannerViewController, UIImage, SBSDKDocumentDetectorResult?)
public virtual void DidSampleVideoFrameDetectionResult(SBSDKDocumentScannerViewController controller, UIImage videoFrameImage, SBSDKDocumentDetectorResult? result)
Parameters
controller
SBSDKDocumentScannerViewController
videoFrameImage
UIImage
result
SBSDKDocumentDetectorResult
DidSnapDocumentImage(SBSDKDocumentScannerViewController, UIImage, UIImage, SBSDKDocumentDetectorResult?, bool)
public virtual void DidSnapDocumentImage(SBSDKDocumentScannerViewController controller, UIImage documentImage, UIImage originalImage, SBSDKDocumentDetectorResult? result, bool autoSnapped)
Parameters
controller
SBSDKDocumentScannerViewController
documentImage
UIImage
originalImage
UIImage
result
SBSDKDocumentDetectorResult
autoSnapped
bool
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposing
bool
PolygonFillColorForStatus(SBSDKDocumentScannerViewController, nint)
public virtual UIColor PolygonFillColorForStatus(SBSDKDocumentScannerViewController controller, nint status)
Parameters
controller
SBSDKDocumentScannerViewController
status
nint
Returns
- UIColor
PolygonLineColorForStatus(SBSDKDocumentScannerViewController, nint)
public virtual UIColor PolygonLineColorForStatus(SBSDKDocumentScannerViewController controller, nint status)
Parameters
controller
SBSDKDocumentScannerViewController
status
nint
Returns
- UIColor
PresentOn(UIViewController, SBSDKDocument?, SBSDKUIFinderDocumentScannerConfiguration, SBSDKUIFinderDocumentScannerViewControllerDelegate?)
public static SBSDKUIFinderDocumentScannerViewController PresentOn(UIViewController presenter, SBSDKDocument? document, SBSDKUIFinderDocumentScannerConfiguration configuration, SBSDKUIFinderDocumentScannerViewControllerDelegate? @delegate)
Parameters
presenter
UIViewController
document
SBSDKDocument
configuration
SBSDKUIFinderDocumentScannerConfiguration
delegate
SBSDKUIFinderDocumentScannerViewControllerDelegate
Returns
- SBSDKUIFinderDocumentScannerViewController
PresentOn(UIViewController, SBSDKUIFinderDocumentScannerConfiguration, SBSDKUIFinderDocumentScannerViewControllerDelegate?)
public static SBSDKUIFinderDocumentScannerViewController PresentOn(UIViewController presenter, SBSDKUIFinderDocumentScannerConfiguration configuration, SBSDKUIFinderDocumentScannerViewControllerDelegate? @delegate)
Parameters
presenter
UIViewController
configuration
SBSDKUIFinderDocumentScannerConfiguration
delegate
SBSDKUIFinderDocumentScannerViewControllerDelegate
Returns
- SBSDKUIFinderDocumentScannerViewController
ShouldAutoSnapImageWithForDetectionResult(SBSDKDocumentScannerViewController, SBSDKDocumentDetectorResult?)
public virtual bool ShouldAutoSnapImageWithForDetectionResult(SBSDKDocumentScannerViewController controller, SBSDKDocumentDetectorResult? result)
Parameters
controller
SBSDKDocumentScannerViewController
result
SBSDKDocumentDetectorResult
Returns
- bool
ShouldDetectDocument(SBSDKDocumentScannerViewController)
public virtual bool ShouldDetectDocument(SBSDKDocumentScannerViewController controller)
Parameters
controller
SBSDKDocumentScannerViewController
Returns
- bool
public virtual void UpdateFlashButton()
ViewDidLoad()
public virtual void ViewDidLoad()
WillShowEnableCameraView()
public virtual void WillShowEnableCameraView()
WillSnapImage(SBSDKDocumentScannerViewController)
public virtual void WillSnapImage(SBSDKDocumentScannerViewController controller)
Parameters
controller
SBSDKDocumentScannerViewController
WithError(SBSDKDocumentScannerViewController, NSError?)
public virtual void WithError(SBSDKDocumentScannerViewController controller, NSError? error)
Parameters
controller
SBSDKDocumentScannerViewController
error
NSError
Events
DidCancel
public event EventHandler DidCancel
Event Type
- EventHandler
DidFinishWithDocument
public event EventHandler<FinishWithDocumentEventArgs> DidFinishWithDocument
Event Type
- EventHandler<FinishWithDocumentEventArgs>