FileDocCategorySizeDatePackage
MediaScannerCursor.javaAPI DocAndroid 1.5 API1919Wed May 06 22:42:48 BST 2009com.android.providers.media

MediaScannerCursor

public class MediaScannerCursor extends android.database.AbstractCursor
Cursor for querying media scanner status.

Fields Summary
private static final String[]
kColumnNames
private String
mVolumeName
Constructors Summary
MediaScannerCursor(String volumeName)


      
        mVolumeName = volumeName;
    
Methods Summary
public java.lang.String[]getColumnNames()

        return kColumnNames;
    
public intgetCount()

        return 1;
    
public doublegetDouble(int column)

        return -1;
    
public floatgetFloat(int column)

        return -1;
    
public intgetInt(int column)

        return -1;
    
public longgetLong(int column)

        return -1;
    
public shortgetShort(int column)

        return -1;
    
public java.lang.StringgetString(int column)

        if (column == 0) {
            return mVolumeName;
        } else {
            return null;
        }
    
public booleanisNull(int column)

        return (column != 0);