FileDocCategorySizeDatePackage
BluetoothMasRequestGetFolderListingSize.javaAPI DocAndroid 5.1 API1641Thu Mar 12 22:22:50 GMT 2015android.bluetooth.client.map

BluetoothMasRequestGetFolderListingSize

public final class BluetoothMasRequestGetFolderListingSize extends BluetoothMasRequest

Fields Summary
private static final String
TYPE
private int
mSize
Constructors Summary
public BluetoothMasRequestGetFolderListingSize()


      
        mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);

        ObexAppParameters oap = new ObexAppParameters();
        oap.add(OAP_TAGID_MAX_LIST_COUNT, 0);

        oap.addToHeaderSet(mHeaderSet);
    
Methods Summary
public voidexecute(javax.obex.ClientSession session)

        executeGet(session);
    
public intgetSize()

        return mSize;
    
protected voidreadResponseHeaders(javax.obex.HeaderSet headerset)

        ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);

        mSize = oap.getShort(OAP_TAGID_FOLDER_LISTING_SIZE);