Class ConcreteBLETransmitter

    • Constructor Detail

      • ConcreteBLETransmitter

        public ConcreteBLETransmitter​(@NonNull
                                      android.content.Context context,
                                      @NonNull
                                      BluetoothStateManager bluetoothStateManager,
                                      @NonNull
                                      BLETimer timer,
                                      @NonNull
                                      PayloadDataSupplier payloadDataSupplier,
                                      @NonNull
                                      BLEDatabase database)
        Transmitter starts automatically when Bluetooth is enabled.
        Parameters:
        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