public class

MountManager

extends Object
java.lang.Object
   ↳ com.htc.service.MountManager

Summary

Public Methods
int decryptStorage(String password)
int enableModemLink()
int encryptStorage(String password)
int formatVolume(String path)
int[] getStorageUsers(String path)
boolean isUsbMassStorageConnected()
int mountISO(String path)
Mount ISO file which on "path", the device will mountISO onto PC immediately.
int mountVolume(String path)
void setAutoMountISOEnabled(boolean enable)
If enable = true, the device will automatically mount ISO onto PC when USB connects
int setMountISOEnabled(boolean enable)
If enable = true, the device will mountISO onto PC immediately.
int setPCtoolISOEnabled(boolean enable)
If enable = true, the device will mountISO onto PC immediately.
void setUsbMassStorageEnabled(boolean enable)
int unmountISO()
The device will unmountISO onto PC immediately.
void unmountVolume(String path, boolean force, boolean removeEncryption)
void unmountVolume(String path, boolean force)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public int decryptStorage (String password)

public int enableModemLink ()

public int encryptStorage (String password)

public int formatVolume (String path)

public int[] getStorageUsers (String path)

public boolean isUsbMassStorageConnected ()

public int mountISO (String path)

Mount ISO file which on "path", the device will mountISO onto PC immediately.

public int mountVolume (String path)

public void setAutoMountISOEnabled (boolean enable)

If enable = true, the device will automatically mount ISO onto PC when USB connects

public int setMountISOEnabled (boolean enable)

If enable = true, the device will mountISO onto PC immediately.

public int setPCtoolISOEnabled (boolean enable)

If enable = true, the device will mountISO onto PC immediately.

public void setUsbMassStorageEnabled (boolean enable)

public int unmountISO ()

The device will unmountISO onto PC immediately.

public void unmountVolume (String path, boolean force, boolean removeEncryption)

public void unmountVolume (String path, boolean force)