APISonar


com.polidea.rxandroidble2.internal.logger.LoggerUtilBluetoothServices.log

> com > polidea > rxandroidble2 > internal > logger > LoggerUtilBluetoothServices > log
com APIs polidea APIs rxandroidble2 APIs internal APIs logger APIs LoggerUtilBluetoothServices APIs log APIs

Example 1
private final LoggerUtilBluetoothServices bleServicesLogger;

    protected Single<RxBleDeviceServices> getCallback(RxBleGattCallback rxBleGattCallback) {
        return rxBleGattCallback.getOnServicesDiscovered().firstOrError()
                .doOnSuccess(new Consumer<RxBleDeviceServices>() {
                    @Override
                    public void accept(RxBleDeviceServices rxBleDeviceServices) {
                        bleServicesLogger.log(rxBleDeviceServices, bluetoothGatt.getDevice());
                    }
                });
    }