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

BluetoothMapRfcommTransport

public class BluetoothMapRfcommTransport extends Object implements javax.obex.ObexTransport

Fields Summary
private final android.bluetooth.BluetoothSocket
mSocket
Constructors Summary
public BluetoothMapRfcommTransport(android.bluetooth.BluetoothSocket socket)

        super();
        mSocket = socket;
    
Methods Summary
public voidclose()

        mSocket.close();
    
public voidconnect()

    
public voidcreate()

    
public voiddisconnect()

    
public voidlisten()

    
public java.io.DataInputStreamopenDataInputStream()

        return new DataInputStream(openInputStream());
    
public java.io.DataOutputStreamopenDataOutputStream()

        return new DataOutputStream(openOutputStream());
    
public java.io.InputStreamopenInputStream()

        return mSocket.getInputStream();
    
public java.io.OutputStreamopenOutputStream()

        return mSocket.getOutputStream();