Package 

Class ScanRecordImplNativeWrapper

    • Constructor Detail

    • Method Detail

      • getAdvertiseFlags

         int getAdvertiseFlags()

        Returns the advertising flags indicating the discoverable mode and capability of the device.Returns -1 if the flag field is not set.

      • getServiceUuids

         List<ParcelUuid> getServiceUuids()

        Returns a list of service UUIDs within the advertisement that are used to identify thebluetooth GATT services.

      • getServiceSolicitationUuids

         List<ParcelUuid> getServiceSolicitationUuids()

        Returns a list of service solicitation UUIDs within the advertisement that are used to identify thebluetooth GATT services the peripheral requires on the Central.

      • getManufacturerSpecificData

        @Nullable() Array<byte> getManufacturerSpecificData(int manufacturerId)

        Returns the manufacturer specific data associated with the manufacturer id. Returns {@code null} if the {@code manufacturerId} is not found.

      • getServiceData

        @Nullable() Array<byte> getServiceData(ParcelUuid serviceDataUuid)

        Returns the service data byte array associated with the {@code serviceUuid}. Returns {@code null} if the {@code serviceDataUuid} is not found.

      • getTxPowerLevel

         int getTxPowerLevel()

        Returns the transmission power level of the packet in dBm. Returns MIN_VALUE if the field is not set. This value can be used to calculate the path loss of a receivedpacket using the following equation:

        pathloss = txPowerLevel - rssi

      • getBytes

         Array<byte> getBytes()

        Returns raw bytes of scan record.