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

BluetoothMasRequestSetMessageStatus

public final class BluetoothMasRequestSetMessageStatus extends BluetoothMasRequest

Fields Summary
private static final String
TYPE
Constructors Summary
public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, boolean statusValue)


        
              

        mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
        mHeaderSet.setHeader(HeaderSet.NAME, handle);

        ObexAppParameters oap = new ObexAppParameters();
        oap.add(OAP_TAGID_STATUS_INDICATOR,
                statusInd == StatusIndicator.READ ? STATUS_INDICATOR_READ
                        : STATUS_INDICATOR_DELETED);
        oap.add(OAP_TAGID_STATUS_VALUE, statusValue ? STATUS_YES : STATUS_NO);
        oap.addToHeaderSet(mHeaderSet);
    
Methods Summary
public voidexecute(javax.obex.ClientSession session)

        executePut(session, FILLER_BYTE);