Table of Contents

Class AndroidPathHelper

Namespace
Uralstech.UShare

Path utilities for Android.

public class AndroidPathHelper
Inheritance
object
AndroidPathHelper

Constructors

AndroidPathHelper(AndroidJavaObject?)

protected AndroidPathHelper(AndroidJavaObject? pluginInstance)

Parameters

pluginInstance AndroidJavaObject?

The native plugin instance.

Properties

CacheDirectory

Returns the path to the application's assigned cache directory (context.cacheDir).

public string CacheDirectory { get; }

Property Value

string

ExternalCacheDirectory

Returns the path to the application's assigned external cache directory (context.externalCacheDir).

public string? ExternalCacheDirectory { get; }

Property Value

string

ExternalFilesDirectory

Returns the path to the application's assigned external files directory (from context.getExternalFilesDir).

public string? ExternalFilesDirectory { get; }

Property Value

string

FilesDirectory

Returns the path to the application's assigned files directory (context.filesDir).

public string FilesDirectory { get; }

Property Value

string

PluginInstance

The native plugin instance.

protected AndroidJavaObject? PluginInstance { get; }

Property Value

AndroidJavaObject?

Methods

Invalidate()

Invalidates this instance by setting PluginInstance to null. It is the responsibility of the creator of this object to dispose of PluginInstance.

protected void Invalidate()