Table of Contents

Class StorageManager

Namespace
Android.Os.Storage
Assembly
MASES.Netdroid.dll
public class StorageManager : JVMBridgeBase<StorageManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<StorageManager>
StorageManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<StorageManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<StorageManager>.IsAssignableFrom<T>()
JVMBridgeBase<StorageManager>.Execute<T>(params T[])
JVMBridgeBase<StorageManager>.DynBridgeClazz
JVMBridgeBase<StorageManager>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

StorageManager()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public StorageManager()

StorageManager(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public StorageManager(params object[] args)

Parameters

args object[]

Properties

ACTION_CLEAR_APP_CACHE

public static String ACTION_CLEAR_APP_CACHE { get; }

Property Value

String

ACTION_MANAGE_STORAGE

public static String ACTION_MANAGE_STORAGE { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

EXTRA_REQUESTED_BYTES

public static String EXTRA_REQUESTED_BYTES { get; }

Property Value

String

EXTRA_UUID

public static String EXTRA_UUID { get; }

Property Value

String

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

UUID_DEFAULT

public static UUID UUID_DEFAULT { get; }

Property Value

UUID

Methods

AllocateBytes(FileDescriptor, long)

public void AllocateBytes(FileDescriptor arg0, long arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 long

long

Exceptions

IOException

AllocateBytes(UUID, long)

public void AllocateBytes(UUID arg0, long arg1)

Parameters

arg0 UUID

UUID

arg1 long

long

Exceptions

IOException

GetAllocatableBytes(UUID)

public long GetAllocatableBytes(UUID arg0)

Parameters

arg0 UUID

UUID

Returns

long

long

Exceptions

IOException

GetCacheQuotaBytes(UUID)

public long GetCacheQuotaBytes(UUID arg0)

Parameters

arg0 UUID

UUID

Returns

long

long

Exceptions

IOException

GetCacheSizeBytes(UUID)

public long GetCacheSizeBytes(UUID arg0)

Parameters

arg0 UUID

UUID

Returns

long

long

Exceptions

IOException

GetManageSpaceActivityIntent(String, int)

public PendingIntent GetManageSpaceActivityIntent(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

PendingIntent

PendingIntent

GetMountedObbPath(String)

public String GetMountedObbPath(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetPrimaryStorageVolume()

public StorageVolume GetPrimaryStorageVolume()

Returns

StorageVolume

StorageVolume

GetRecentStorageVolumes()

public List<StorageVolume> GetRecentStorageVolumes()

Returns

List<StorageVolume>

List

GetStorageVolume(Uri)

public StorageVolume GetStorageVolume(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

StorageVolume

StorageVolume

GetStorageVolume(File)

public StorageVolume GetStorageVolume(File arg0)

Parameters

arg0 File

File

Returns

StorageVolume

StorageVolume

GetStorageVolumes()

public List<StorageVolume> GetStorageVolumes()

Returns

List<StorageVolume>

List

GetStorageVolumesIncludingSharedProfiles()

public List<StorageVolume> GetStorageVolumesIncludingSharedProfiles()

Returns

List<StorageVolume>

List

GetUuidForPath(File)

public UUID GetUuidForPath(File arg0)

Parameters

arg0 File

File

Returns

UUID

UUID

Exceptions

IOException

IsAllocationSupported(FileDescriptor)

public bool IsAllocationSupported(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

bool

bool

IsCacheBehaviorGroup(File)

public bool IsCacheBehaviorGroup(File arg0)

Parameters

arg0 File

File

Returns

bool

bool

Exceptions

IOException

IsCacheBehaviorTombstone(File)

public bool IsCacheBehaviorTombstone(File arg0)

Parameters

arg0 File

File

Returns

bool

bool

Exceptions

IOException

IsCheckpointSupported()

public bool IsCheckpointSupported()

Returns

bool

bool

IsEncrypted(File)

public bool IsEncrypted(File arg0)

Parameters

arg0 File

File

Returns

bool

bool

IsObbMounted(String)

public bool IsObbMounted(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

MountObb(String, String, OnObbStateChangeListener)

public bool MountObb(String arg0, String arg1, OnObbStateChangeListener arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 OnObbStateChangeListener

OnObbStateChangeListener

Returns

bool

bool

OpenProxyFileDescriptor(int, ProxyFileDescriptorCallback, Handler)

public ParcelFileDescriptor OpenProxyFileDescriptor(int arg0, ProxyFileDescriptorCallback arg1, Handler arg2)

Parameters

arg0 int

int

arg1 ProxyFileDescriptorCallback

ProxyFileDescriptorCallback

arg2 Handler

Handler

Returns

ParcelFileDescriptor

ParcelFileDescriptor

Exceptions

IOException

RegisterStorageVolumeCallback(Executor, StorageVolumeCallback)

public void RegisterStorageVolumeCallback(Executor arg0, StorageManager.StorageVolumeCallback arg1)

Parameters

arg0 Executor

Executor

arg1 StorageManager.StorageVolumeCallback

StorageManager.StorageVolumeCallback

SetCacheBehaviorGroup(File, bool)

public void SetCacheBehaviorGroup(File arg0, bool arg1)

Parameters

arg0 File

File

arg1 bool

bool

Exceptions

IOException

SetCacheBehaviorTombstone(File, bool)

public void SetCacheBehaviorTombstone(File arg0, bool arg1)

Parameters

arg0 File

File

arg1 bool

bool

Exceptions

IOException

UnmountObb(String, bool, OnObbStateChangeListener)

public bool UnmountObb(String arg0, bool arg1, OnObbStateChangeListener arg2)

Parameters

arg0 String

String

arg1 bool

bool

arg2 OnObbStateChangeListener

OnObbStateChangeListener

Returns

bool

bool

UnregisterStorageVolumeCallback(StorageVolumeCallback)

public void UnregisterStorageVolumeCallback(StorageManager.StorageVolumeCallback arg0)

Parameters

arg0 StorageManager.StorageVolumeCallback

StorageManager.StorageVolumeCallback