April 2017
Intermediate to advanced
242 pages
6h 10m
English
This class is responsible for holding different parameters and functionalities related to the Bluetooth Service. BluetoothGattService gives flexibility to the developer to get the characteristics related to that service which is significant for writing and reading data to and from the Bluetooth characteristics. A quick view of the methods offered by this class can be found here:

A service can be acquired by calling getService method on mBluetoothGatt object after connecting to a particular device:
BluetoothGattService service = mBluetoothGatt.getService(UUID.randomUUID()); ...
Read now
Unlock full access