Class _SBSDKImageRefAdapter
- Namespace
- ScanbotSDK.iOS
- Assembly
- BarcodeSDK.NET.iOS.dll
public class _SBSDKImageRefAdapter : NSObject
- Inheritance
-
_SBSDKImageRefAdapter
Constructors
_SBSDKImageRefAdapter()
public _SBSDKImageRefAdapter()
_SBSDKImageRefAdapter(NSObjectFlag)
protected _SBSDKImageRefAdapter(NSObjectFlag t)
Parameters
t NSObjectFlag
_SBSDKImageRefAdapter(NativeHandle)
protected _SBSDKImageRefAdapter(NativeHandle handle)
Parameters
handle NativeHandle
Properties
ClassHandle
public override NativeHandle ClassHandle { get; }
Property Value
- NativeHandle
Methods
AcquireSerializedReference(NSUuid)
public static bool AcquireSerializedReference(NSUuid uniqueId)
Parameters
uniqueId NSUuid
Returns
- bool
AcquireStrongReference(NSUuid)
public static bool AcquireStrongReference(NSUuid uniqueId)
Parameters
uniqueId NSUuid
Returns
- bool
Clear(NSUuid)
public static void Clear(NSUuid uniqueId)
Parameters
uniqueId NSUuid
CreateFromEncodedBuffer(NSData, SBSDKBufferImageLoadOptions)
public static SBSDKImageRef CreateFromEncodedBuffer(NSData data, SBSDKBufferImageLoadOptions options)
Parameters
data NSData
options SBSDKBufferImageLoadOptions
Returns
- SBSDKImageRef
CreateFromEncodedBufferRaw(NSData, SBSDKBufferImageLoadOptions)
public static NSUuid CreateFromEncodedBufferRaw(NSData data, SBSDKBufferImageLoadOptions options)
Parameters
data NSData
options SBSDKBufferImageLoadOptions
Returns
- NSUuid
CreateFromImage(UIImage, SBSDKRawImageLoadOptions)
public static SBSDKImageRef CreateFromImage(UIImage image, SBSDKRawImageLoadOptions options)
Parameters
image UIImage
options SBSDKRawImageLoadOptions
Returns
- SBSDKImageRef
CreateFromPath(string, SBSDKPathImageLoadOptions)
public static SBSDKImageRef CreateFromPath(string path, SBSDKPathImageLoadOptions options)
Parameters
path string
options SBSDKPathImageLoadOptions
Returns
- SBSDKImageRef
public static SBSDKImageRef CreateFromSampleBuffer(CMSampleBuffer buffer, SBSDKRawImageLoadOptions options)
Parameters
buffer CMSampleBuffer
options SBSDKRawImageLoadOptions
Returns
- SBSDKImageRef
EncodeImage(SBSDKImageRef, SBSDKEncodeImageOptions, out NSError?)
public static NSData? EncodeImage(SBSDKImageRef @ref, SBSDKEncodeImageOptions options, out NSError? error)
Parameters
ref SBSDKImageRef
options SBSDKEncodeImageOptions
error NSError
Returns
- NSData
Hibernate(SBSDKImageRef, out NSError?)
public static bool Hibernate(SBSDKImageRef @ref, out NSError? error)
Parameters
ref SBSDKImageRef
error NSError
Returns
- bool
Info(SBSDKImageRef, out NSError?)
public static SBSDKImageInfo? Info(SBSDKImageRef @ref, out NSError? error)
Parameters
ref SBSDKImageRef
error NSError
Returns
- SBSDKImageInfo
ReleaseAllImages()
public static void ReleaseAllImages()
ReleaseStrongReference(NSUuid)
public static bool ReleaseStrongReference(NSUuid uniqueId)
Parameters
uniqueId NSUuid
Returns
- bool
SaveImage(SBSDKImageRef, string, SBSDKSaveImageOptions, out NSError?)
public static bool SaveImage(SBSDKImageRef @ref, string path, SBSDKSaveImageOptions options, out NSError? error)
Parameters
ref SBSDKImageRef
path string
options SBSDKSaveImageOptions
error NSError
Returns
- bool
SetHibernationCacheDir(string?, out NSError?)
public static bool SetHibernationCacheDir(string? cacheDir, out NSError? error)
Parameters
cacheDir string
error NSError
Returns
- bool
SetHibernationJpegQuality(nint)
public static void SetHibernationJpegQuality(nint quality)
Parameters
quality nint
SetStorageCryptingProvider(SBSDKStorageCryptingProvider?, out NSError?)
public static bool SetStorageCryptingProvider(SBSDKStorageCryptingProvider? cryptingProvider, out NSError? error)
Parameters
cryptingProvider SBSDKStorageCryptingProvider
error NSError
Returns
- bool
SetTestMode(bool)
public static void SetTestMode(bool enabled)
Parameters
enabled bool
ToUIImage(SBSDKImageRef, out NSError?)
public static UIImage? ToUIImage(SBSDKImageRef @ref, out NSError? error)
Parameters
ref SBSDKImageRef
error NSError
Returns
- UIImage
UpgradeSerializedReference(NSUuid)
public static bool UpgradeSerializedReference(NSUuid uniqueId)
Parameters
uniqueId NSUuid
Returns
- bool