FileDocCategorySizeDatePackage
BulkCursorDescriptor.javaAPI DocAndroid 5.1 API2456Thu Mar 12 22:22:10 GMT 2015android.database

BulkCursorDescriptor

public final class BulkCursorDescriptor extends Object implements android.os.Parcelable
Describes the properties of a {@link CursorToBulkCursorAdaptor} that are needed to initialize its {@link BulkCursorToCursorAdaptor} counterpart on the client's end. {@hide}

Fields Summary
public static final Parcelable.Creator
CREATOR
public IBulkCursor
cursor
public String[]
columnNames
public boolean
wantsAllOnMoveCalls
public int
count
public CursorWindow
window
Constructors Summary
Methods Summary
public intdescribeContents()


    
       
        return 0;
    
public voidreadFromParcel(android.os.Parcel in)

        cursor = BulkCursorNative.asInterface(in.readStrongBinder());
        columnNames = in.readStringArray();
        wantsAllOnMoveCalls = in.readInt() != 0;
        count = in.readInt();
        if (in.readInt() != 0) {
            window = CursorWindow.CREATOR.createFromParcel(in);
        }
    
public voidwriteToParcel(android.os.Parcel out, int flags)

        out.writeStrongBinder(cursor.asBinder());
        out.writeStringArray(columnNames);
        out.writeInt(wantsAllOnMoveCalls ? 1 : 0);
        out.writeInt(count);
        if (window != null) {
            out.writeInt(1);
            window.writeToParcel(out, flags);
        } else {
            out.writeInt(0);
        }