Class StorageManager
public class StorageManager : JVMBridgeBase<StorageManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<StorageManager>StorageManager
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<StorageManager>.IsAssignableFrom(IJavaType)JVMBridgeBase<StorageManager>.IsAssignableFrom<T>()JVMBridgeBase<StorageManager>.Execute<T>(params T[])JVMBridgeBase<StorageManager>.DynBridgeClazzJVMBridgeBase<StorageManager>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
ACTION_MANAGE_STORAGE
https://developer.android.com/reference/android/os/storage/StorageManager.html#ACTION_MANAGE_STORAGE
public static String ACTION_MANAGE_STORAGE { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
EXTRA_REQUESTED_BYTES
https://developer.android.com/reference/android/os/storage/StorageManager.html#EXTRA_REQUESTED_BYTES
public static String EXTRA_REQUESTED_BYTES { get; }
Property Value
EXTRA_UUID
public static String EXTRA_UUID { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
UUID_DEFAULT
public static UUID UUID_DEFAULT { get; }
Property Value
Methods
AllocateBytes(FileDescriptor, long)
public void AllocateBytes(FileDescriptor arg0, long arg1)
Parameters
arg0
FileDescriptorarg1
long
Exceptions
AllocateBytes(UUID, long)
public void AllocateBytes(UUID arg0, long arg1)
Parameters
Exceptions
GetAllocatableBytes(UUID)
public long GetAllocatableBytes(UUID arg0)
Parameters
Returns
Exceptions
GetCacheQuotaBytes(UUID)
public long GetCacheQuotaBytes(UUID arg0)
Parameters
Returns
Exceptions
GetCacheSizeBytes(UUID)
public long GetCacheSizeBytes(UUID arg0)
Parameters
Returns
Exceptions
GetManageSpaceActivityIntent(String, int)
public PendingIntent GetManageSpaceActivityIntent(String arg0, int arg1)
Parameters
Returns
GetMountedObbPath(String)
public String GetMountedObbPath(String arg0)
Parameters
Returns
GetPrimaryStorageVolume()
public StorageVolume GetPrimaryStorageVolume()
Returns
GetRecentStorageVolumes()
public List<StorageVolume> GetRecentStorageVolumes()
Returns
GetStorageVolume(Uri)
public StorageVolume GetStorageVolume(Uri arg0)
Parameters
Returns
GetStorageVolume(File)
public StorageVolume GetStorageVolume(File arg0)
Parameters
Returns
GetStorageVolumes()
public List<StorageVolume> GetStorageVolumes()
Returns
GetStorageVolumesIncludingSharedProfiles()
public List<StorageVolume> GetStorageVolumesIncludingSharedProfiles()
Returns
GetUuidForPath(File)
public UUID GetUuidForPath(File arg0)
Parameters
Returns
Exceptions
IsAllocationSupported(FileDescriptor)
public bool IsAllocationSupported(FileDescriptor arg0)
Parameters
Returns
IsCacheBehaviorGroup(File)
public bool IsCacheBehaviorGroup(File arg0)
Parameters
Returns
Exceptions
IsCacheBehaviorTombstone(File)
public bool IsCacheBehaviorTombstone(File arg0)
Parameters
Returns
Exceptions
IsCheckpointSupported()
public bool IsCheckpointSupported()
Returns
IsEncrypted(File)
public bool IsEncrypted(File arg0)
Parameters
Returns
IsObbMounted(String)
public bool IsObbMounted(String arg0)
Parameters
Returns
MountObb(String, String, OnObbStateChangeListener)
public bool MountObb(String arg0, String arg1, OnObbStateChangeListener arg2)
Parameters
arg0
Stringarg1
Stringarg2
OnObbStateChangeListener
Returns
OpenProxyFileDescriptor(int, ProxyFileDescriptorCallback, Handler)
public ParcelFileDescriptor OpenProxyFileDescriptor(int arg0, ProxyFileDescriptorCallback arg1, Handler arg2)
Parameters
arg0
intarg1
ProxyFileDescriptorCallbackarg2
Handler
Returns
Exceptions
RegisterStorageVolumeCallback(Executor, StorageVolumeCallback)
public void RegisterStorageVolumeCallback(Executor arg0, StorageManager.StorageVolumeCallback arg1)
Parameters
arg0
Executorarg1
StorageManager.StorageVolumeCallback
SetCacheBehaviorGroup(File, bool)
public void SetCacheBehaviorGroup(File arg0, bool arg1)
Parameters
Exceptions
SetCacheBehaviorTombstone(File, bool)
public void SetCacheBehaviorTombstone(File arg0, bool arg1)
Parameters
Exceptions
UnmountObb(String, bool, OnObbStateChangeListener)
public bool UnmountObb(String arg0, bool arg1, OnObbStateChangeListener arg2)
Parameters
arg0
Stringarg1
boolarg2
OnObbStateChangeListener
Returns
UnregisterStorageVolumeCallback(StorageVolumeCallback)
public void UnregisterStorageVolumeCallback(StorageManager.StorageVolumeCallback arg0)