Class BluetoothSppConnector
java.lang.Object
jp.co.sanei_elec.printerlibrary.api.connectivity.AbstractConnector
jp.co.sanei_elec.printerlibrary.api.connectivity.BluetoothConnector
jp.co.sanei_elec.printerlibrary.api.connectivity.BluetoothSppConnector
-
Constructor Summary
ConstructorsConstructorDescriptionBluetoothSppConnector
(android.content.Context context, android.bluetooth.BluetoothAdapter btAdapter, android.bluetooth.BluetoothDevice btDevice) -
Method Summary
Methods inherited from class jp.co.sanei_elec.printerlibrary.api.connectivity.BluetoothConnector
equals, getBluetoothAdapter, getBluetoothDevice
Methods inherited from class jp.co.sanei_elec.printerlibrary.api.connectivity.AbstractConnector
getContext
-
Constructor Details
-
BluetoothSppConnector
public BluetoothSppConnector(android.content.Context context, android.bluetooth.BluetoothAdapter btAdapter, android.bluetooth.BluetoothDevice btDevice)
-
-
Method Details
-
connect
- Specified by:
connect
in classAbstractConnector
- Throws:
IOException
-
close
- Specified by:
close
in classAbstractConnector
- Throws:
IOException
-
getInputStream
- Specified by:
getInputStream
in classAbstractConnector
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in classAbstractConnector
- Throws:
IOException
-
getBluetoothSocket
public android.bluetooth.BluetoothSocket getBluetoothSocket()
-