|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMediaScannerService
| Nested Class Summary | |
|---|---|
static class |
IMediaScannerService.Stub
Local-side IPC implementation stub class. |
| Method Summary | |
|---|---|
void |
requestScanFile(String path,
String mimeType,
IMediaScannerListener listener)
Requests the media scanner to scan a file. |
void |
scanFile(String path,
String mimeType)
Older API, left in for backward compatibility. |
| Methods inherited from interface android.os.IInterface |
|---|
asBinder |
| Method Detail |
|---|
void requestScanFile(String path,
String mimeType,
IMediaScannerListener listener)
throws RemoteException
path - the path to the file to be scanned.mimeType - an optional mimeType for the file.
If mimeType is null, then the mimeType will be inferred from the file extension.listener - an optional IMediaScannerListener.
If specified, the caller will be notified when scanning is complete via the listener.
RemoteException
void scanFile(String path,
String mimeType)
throws RemoteException
path - the path to the file to be scanned.mimeType - an optional mimeType for the file.
If mimeType is null, then the mimeType will be inferred from the file extension.
RemoteException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||