FileDocCategorySizeDatePackage
BluetoothPbapObexTransport.javaAPI DocAndroid 5.1 API2138Thu Mar 12 22:22:50 GMT 2015android.bluetooth.client.pbap

BluetoothPbapObexTransport

public class BluetoothPbapObexTransport extends Object implements javax.obex.ObexTransport

Fields Summary
private android.bluetooth.BluetoothSocket
mSocket
Constructors Summary
public BluetoothPbapObexTransport(android.bluetooth.BluetoothSocket rfs)


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

        mSocket.close();
    
public voidconnect()

    
public voidcreate()

    
public voiddisconnect()

    
public booleanisConnected()

        // return true;
        return mSocket.isConnected();
    
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();