Build 1.0_r1(from source)

android.os
Interface IMountService

All Superinterfaces:
IInterface
All Known Implementing Classes:
IMountService.Stub

public interface IMountService
extends IInterface

WARNING! Update IMountService.h and IMountService.cpp if you change this file. In particular, the ordering of the methods below must match the _TRANSACTION enum in IMountService.cpp


Nested Class Summary
static class IMountService.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 boolean getMassStorageConnected()
          Is mass storage connected?
 boolean getMassStorageEnabled()
          Is mass storage support enabled?
 void mountMedia(String mountPoint)
          Mount external storage at given mount point.
 void setMassStorageEnabled(boolean enabled)
          Enable or disable mass storage support.
 void unmountMedia(String mountPoint)
          Safely unmount external storage at given mount point.
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

getMassStorageEnabled

boolean getMassStorageEnabled()
                              throws RemoteException
Is mass storage support enabled?

Throws:
RemoteException

setMassStorageEnabled

void setMassStorageEnabled(boolean enabled)
                           throws RemoteException
Enable or disable mass storage support.

Throws:
RemoteException

getMassStorageConnected

boolean getMassStorageConnected()
                                throws RemoteException
Is mass storage connected?

Throws:
RemoteException

mountMedia

void mountMedia(String mountPoint)
                throws RemoteException
Mount external storage at given mount point.

Throws:
RemoteException

unmountMedia

void unmountMedia(String mountPoint)
                  throws RemoteException
Safely unmount external storage at given mount point.

Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature