Table of Contents

Class ImageSource

Namespace
IO.Scanbot.Sdk.Core
Assembly
DocumentSDK.NET.Droid.dll
public sealed class ImageSource : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
ImageSource
Implements

Constructors

ImageSource(ImageSourceType, string)

public ImageSource(ImageSourceType type, string filePath)

Parameters

type ImageSourceType
filePath string

ImageSource(JSONObject)

public ImageSource(JSONObject json)

Parameters

json JSONObject

ImageSource(IDictionary<string, Object>)

public ImageSource(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

FilePath

public string FilePath { get; set; }

Property Value

string

Type

public ImageSourceType Type { get; set; }

Property Value

ImageSourceType

Methods

Component1()

public ImageSourceType Component1()

Returns

ImageSourceType

Component2()

public string Component2()

Returns

string

Copy(ImageSourceType, string)

public ImageSource Copy(ImageSourceType type, string filePath)

Parameters

type ImageSourceType
filePath string

Returns

ImageSource

DescribeContents()

public int DescribeContents()

Returns

int

ToJson(ToJsonConfiguration)

public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags