Skip navigation links
A B C E G H I O R S T V 

A

AclEvent - Class in com.github.ivbaranov.rxbluetooth.events
Event container class.
AclEvent(String, BluetoothDevice) - Constructor for class com.github.ivbaranov.rxbluetooth.events.AclEvent
 
Action - Class in com.github.ivbaranov.rxbluetooth
 
Action() - Constructor for class com.github.ivbaranov.rxbluetooth.Action
 

B

BluetoothConnection - Class in com.github.ivbaranov.rxbluetooth
 
BluetoothConnection(BluetoothSocket) - Constructor for class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Container for simplifying read and write from/to BluetoothSocket.
BondStateEvent - Class in com.github.ivbaranov.rxbluetooth.events
Event container class.
BondStateEvent(int, int, BluetoothDevice) - Constructor for class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 

C

cancelDiscovery() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Cancel the current device discovery process.
closeConnection() - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Close the streams and socket connection.
closeProfileProxy(int, BluetoothProfile) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Close the connection of the profile proxy to the Service.
com.github.ivbaranov.rxbluetooth - package com.github.ivbaranov.rxbluetooth
 
com.github.ivbaranov.rxbluetooth.events - package com.github.ivbaranov.rxbluetooth.events
 
com.github.ivbaranov.rxbluetooth.exceptions - package com.github.ivbaranov.rxbluetooth.exceptions
 
ConnectionClosedException - Exception in com.github.ivbaranov.rxbluetooth.exceptions
 
ConnectionClosedException() - Constructor for exception com.github.ivbaranov.rxbluetooth.exceptions.ConnectionClosedException
 
ConnectionClosedException(String) - Constructor for exception com.github.ivbaranov.rxbluetooth.exceptions.ConnectionClosedException
 
ConnectionStateEvent - Class in com.github.ivbaranov.rxbluetooth.events
Event container class.
ConnectionStateEvent(int, int, BluetoothDevice) - Constructor for class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 

E

enableBluetooth(Activity, int) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
This will issue a request to enable Bluetooth through the system settings (without stopping your application) via ACTION_REQUEST_ENABLE action Intent.
enableDiscoverability(Activity, int) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
This will issue a request to make the local device discoverable to other devices.
enableDiscoverability(Activity, int, int) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
This will issue a request to make the local device discoverable to other devices.
equals(Object) - Method in class com.github.ivbaranov.rxbluetooth.events.AclEvent
 
equals(Object) - Method in class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 
equals(Object) - Method in class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 
equals(Object) - Method in class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 

G

getAction() - Method in class com.github.ivbaranov.rxbluetooth.events.AclEvent
 
getBluetoothDevice() - Method in class com.github.ivbaranov.rxbluetooth.events.AclEvent
 
getBluetoothDevice() - Method in class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 
getBluetoothDevice() - Method in class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 
getBluetoothProfile() - Method in class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 
getBondedDevices() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Return the set of BluetoothDevice objects that are bonded (paired) to the local adapter.
getPreviousState() - Method in class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 
getPreviousState() - Method in class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 
GetProfileProxyException - Exception in com.github.ivbaranov.rxbluetooth.exceptions
Thrown when BluetoothAdapter.getProfileProxy(android.content.Context, android.bluetooth.BluetoothProfile.ServiceListener, int) returns true, which means that connection to bluetooth profile failed.
GetProfileProxyException() - Constructor for exception com.github.ivbaranov.rxbluetooth.exceptions.GetProfileProxyException
 
getProfileType() - Method in class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 
getState() - Method in class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 
getState() - Method in class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 
getState() - Method in class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 

H

hashCode() - Method in class com.github.ivbaranov.rxbluetooth.events.AclEvent
 
hashCode() - Method in class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 
hashCode() - Method in class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 
hashCode() - Method in class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 

I

isBluetoothAvailable() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Return true if Bluetooth is available.
isBluetoothEnabled() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Return true if Bluetooth is currently enabled and ready for use.
isDiscovering() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Return true if the local Bluetooth adapter is currently in the device discovery process.
isEqualTo(T...) - Static method in class com.github.ivbaranov.rxbluetooth.Action
Creates a function, which checks if current action equals single action or one of many actions.

O

observeAclEvent() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes ACL broadcast actions from BluetoothDevice.
observeBluetoothProfile(int) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes connection to specified profile.
observeBluetoothSocket(String, UUID) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Opens BluetoothServerSocket, listens for a single connection request, releases socket and returns a connected BluetoothSocket on successful connection.
observeBluetoothState() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes BluetoothState.
observeBondState() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes bond state of devices.
observeByteStream() - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Observes byte from bluetooth's InputStream.
observeConnectDevice(BluetoothDevice, UUID) - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Create connection to BluetoothDevice and returns a connected BluetoothSocket on successful connection.
observeConnectionState() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes connection state of devices.
observeDevices() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes Bluetooth devices found while discovering.
observeDiscovery() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes DiscoveryState, which can be ACTION_DISCOVERY_STARTED or ACTION_DISCOVERY_FINISHED from BluetoothAdapter.
observeScanMode() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Observes scan mode of device.
observeStringStream() - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Observes string from bluetooth's InputStream with '\r' (Carriage Return) and '\n' (New Line) as delimiter.
observeStringStream(int...) - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Observes string from bluetooth's InputStream.

R

RxBluetooth - Class in com.github.ivbaranov.rxbluetooth
Enables clients to listen to bluetooth events using RxJava Observables.
RxBluetooth(Context) - Constructor for class com.github.ivbaranov.rxbluetooth.RxBluetooth
 

S

send(byte) - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Send one byte to bluetooth output stream.
send(byte[]) - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Send array of bytes to bluetooth output stream.
send(String) - Method in class com.github.ivbaranov.rxbluetooth.BluetoothConnection
Send string of text to bluetooth output stream.
ServiceEvent - Class in com.github.ivbaranov.rxbluetooth.events
Event container class.
ServiceEvent(ServiceEvent.State, int, BluetoothProfile) - Constructor for class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 
ServiceEvent.State - Enum in com.github.ivbaranov.rxbluetooth.events
 
startDiscovery() - Method in class com.github.ivbaranov.rxbluetooth.RxBluetooth
Start the remote device discovery process.

T

toString() - Method in class com.github.ivbaranov.rxbluetooth.events.AclEvent
 
toString() - Method in class com.github.ivbaranov.rxbluetooth.events.BondStateEvent
 
toString() - Method in class com.github.ivbaranov.rxbluetooth.events.ConnectionStateEvent
 
toString() - Method in class com.github.ivbaranov.rxbluetooth.events.ServiceEvent
 

V

valueOf(String) - Static method in enum com.github.ivbaranov.rxbluetooth.events.ServiceEvent.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.ivbaranov.rxbluetooth.events.ServiceEvent.State
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G H I O R S T V 
Skip navigation links