Interface BLETransmitter

  • All Superinterfaces:
    Sensor
    All Known Implementing Classes:
    ConcreteBLETransmitter

    public interface BLETransmitter
    extends Sensor
    Beacon transmitter broadcasts a fixed service UUID to enable background scan by iOS. When iOS enters background mode, the UUID will disappear from the broadcast, so Android devices need to search for Apple devices and then connect and discover services to read the UUID.
    • Field Detail

      • delegates

        @NonNull
        static final java.util.Queue<SensorDelegate> delegates
        Delegates for receiving beacon detection events. This is necessary because some Android devices (Samsung J6) does not support BLE transmit, thus making the beacon characteristic writable offers a mechanism for such devices to detect a beacon transmitter and make their own presence known by sending its own beacon code and RSSI as data to the transmitter.
    • Method Detail

      • payloadData

        @NonNull
        PayloadData payloadData()
        Get current payload.
        Returns:
        The current PayloadData for this device.
      • isSupported

        boolean isSupported()
        Is transmitter supported.
        Returns:
        True if BLE advertising is supported.