Package 

Interface BluetoothPeripheralControllerListener


  • 
    public interface BluetoothPeripheralControllerListener
    
                        

    The BluetoothPeripheralControllerListener protocol provides callbacks to indicate the status of a pairPeripheral() or readFromPeripheral() operation. When performing a readFromPeripheral() operation you should listen for the BluetoothPeripheralController#onPeripheralDiscovered() callback and then display to the user the readingInstructions from the BluetoothPeripheral object. Upon receiving a reading or readings from the peripheral, the library will execute the callback, onSuccess() and the boolean return of that callback will permit the library to submit the reading(s).