Table of Contents

Class SBSDKImageRef

Namespace
ScanbotSDK.iOS
Assembly
BarcodeSDK.NET.iOS.dll
public class SBSDKImageRef : NSObject
Inheritance
SBSDKImageRef
Extension Methods

Constructors

SBSDKImageRef(NSObjectFlag)

protected SBSDKImageRef(NSObjectFlag t)

Parameters

t NSObjectFlag

SBSDKImageRef(NSUuid, bool)

public SBSDKImageRef(NSUuid uniqueId, bool acquireStrongReference)

Parameters

uniqueId NSUuid
acquireStrongReference bool

SBSDKImageRef(NativeHandle)

protected SBSDKImageRef(NativeHandle handle)

Parameters

handle NativeHandle

Properties

ClassHandle

public override NativeHandle ClassHandle { get; }

Property Value

NativeHandle

Info

public virtual SBSDKImageInfo? Info { get; }

Property Value

SBSDKImageInfo

UniqueId

public virtual NSUuid? UniqueId { get; set; }

Property Value

NSUuid

Methods

AcquireSerializedReferenceWithUniqueId(NSUuid)

public static bool AcquireSerializedReferenceWithUniqueId(NSUuid uniqueId)

Parameters

uniqueId NSUuid

Returns

bool

Clear()

public virtual void Clear()

Clone()

public virtual SBSDKImageRef? Clone()

Returns

SBSDKImageRef

Close()

public virtual void Close()

EncodeImageWithOptions(SBSDKEncodeImageOptions)

public virtual NSData EncodeImageWithOptions(SBSDKEncodeImageOptions options)

Parameters

options SBSDKEncodeImageOptions

Returns

NSData

FromEncodedBufferWithEncodedBuffer(NSData, SBSDKBufferImageLoadOptions)

public static SBSDKImageRef? FromEncodedBufferWithEncodedBuffer(NSData encodedBuffer, SBSDKBufferImageLoadOptions options)

Parameters

encodedBuffer NSData
options SBSDKBufferImageLoadOptions

Returns

SBSDKImageRef

FromPathWithPath(string, SBSDKPathImageLoadOptions)

public static SBSDKImageRef? FromPathWithPath(string path, SBSDKPathImageLoadOptions options)

Parameters

path string
options SBSDKPathImageLoadOptions

Returns

SBSDKImageRef

FromSampleBufferWithSampleBuffer(CMSampleBuffer, SBSDKRawImageLoadOptions)

public static SBSDKImageRef? FromSampleBufferWithSampleBuffer(CMSampleBuffer sampleBuffer, SBSDKRawImageLoadOptions options)

Parameters

sampleBuffer CMSampleBuffer
options SBSDKRawImageLoadOptions

Returns

SBSDKImageRef

FromUIImageWithImage(UIImage, SBSDKBasicImageLoadOptions)

public static SBSDKImageRef FromUIImageWithImage(UIImage image, SBSDKBasicImageLoadOptions options)

Parameters

image UIImage
options SBSDKBasicImageLoadOptions

Returns

SBSDKImageRef

Hibernate()

public virtual void Hibernate()

ReleaseAllImages()

public static void ReleaseAllImages()

ReleaseStrongReferenceWithUniqueId(NSUuid)

public static bool ReleaseStrongReferenceWithUniqueId(NSUuid uniqueId)

Parameters

uniqueId NSUuid

Returns

bool

SaveImageWithPath(string, SBSDKSaveImageOptions)

public virtual bool SaveImageWithPath(string path, SBSDKSaveImageOptions options)

Parameters

path string
options SBSDKSaveImageOptions

Returns

bool

Serialize()

public virtual string Serialize()

Returns

string

SetHibernationCacheDirWithCacheDirPath(string?)

public static void SetHibernationCacheDirWithCacheDirPath(string? cacheDirPath)

Parameters

cacheDirPath string

SetHibernationJpegQualityWithQuality(nint)

public static void SetHibernationJpegQualityWithQuality(nint quality)

Parameters

quality nint

SetStorageCryptingProviderWithProvider(SBSDKStorageCryptingProvider)

public static void SetStorageCryptingProviderWithProvider(SBSDKStorageCryptingProvider provider)

Parameters

provider SBSDKStorageCryptingProvider

ToUIImage()

public virtual UIImage? ToUIImage()

Returns

UIImage

UpgradeSerializedReferenceWithUniqueId(NSUuid)

public static bool UpgradeSerializedReferenceWithUniqueId(NSUuid uniqueId)

Parameters

uniqueId NSUuid

Returns

bool