Class ConcreteBLETransmitter

    • Constructor Detail

      • ConcreteBLETransmitter

        public ConcreteBLETransmitter​(@NonNull
                                      android.content.Context context,
                                      BluetoothStateManager bluetoothStateManager,
                                      BLETimer timer,
                                      PayloadDataSupplier payloadDataSupplier,
                                      BLEDatabase database)
        Transmitter starts automatically when Bluetooth is enabled.
        context - The Herald execution environment Context
        bluetoothStateManager - To determine whether Bluetooth is enabled
        timer - Used to register a need for periodic events to occur
        payloadDataSupplier - Source of the payload to transmit
        database - BLE Device database to locate nearby device information