Table of Contents

Class FileChooserUtils

Namespace
IO.Scanbot.Sdk.Util
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/util/FileChooserUtils", DoNotGenerateAcw = true)]
public sealed class FileChooserUtils : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
FileChooserUtils
Implements
Inherited Members

Fields

A

[Register("a")]
public const string A = "content"

Field Value

string

B

[Register("b")]
public const string B = "file"

Field Value

string

C

[Register("c")]
public const string C = "com.android.externalstorage.documents"

Field Value

string

D

[Register("d")]
public const string D = "com.android.providers.downloads.documents"

Field Value

string

E

[Register("e")]
public const string E = "com.android.providers.media.documents"

Field Value

string

F

[Register("f")]
public const string F = "content://downloads/public_downloads"

Field Value

string

Properties

Instance

[Register("INSTANCE")]
public static FileChooserUtils Instance { get; }

Property Value

FileChooserUtils

Methods

GetDataColumn(Context, Uri, string, string[])

[Register("getDataColumn", "(Landroid/content/Context;Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;", "")]
public static string GetDataColumn(Context context, Uri uri, string selection, string[] selectionArgs)

Parameters

context Context
uri Uri
selection string
selectionArgs string[]

Returns

string

GetPath(Context, Uri)

[Register("getPath", "(Landroid/content/Context;Landroid/net/Uri;)Ljava/lang/String;", "")]
public static string GetPath(Context context, Uri uri)

Parameters

context Context
uri Uri

Returns

string

IsDownloadsDocument(Uri)

[Register("isDownloadsDocument", "(Landroid/net/Uri;)Z", "")]
public static bool IsDownloadsDocument(Uri uri)

Parameters

uri Uri

Returns

bool

IsExternalStorageDocument(Uri)

[Register("isExternalStorageDocument", "(Landroid/net/Uri;)Z", "")]
public static bool IsExternalStorageDocument(Uri uri)

Parameters

uri Uri

Returns

bool

IsMediaDocument(Uri)

[Register("isMediaDocument", "(Landroid/net/Uri;)Z", "")]
public static bool IsMediaDocument(Uri uri)

Parameters

uri Uri

Returns

bool