Lens Scripting API
    Preparing search index...

    The results of a Bluetooth scan.

    Hierarchy (View Summary)

    Index

    Properties

    deviceAddress: Uint8Array

    Address of the device.

    deviceName?: string

    Name of the advertised device, if available.

    isConnectable: boolean

    Whether the device allows connections.

    manufacturerData: { [key: number]: Uint8Array }

    Data provided by the manufacturer, if available.

    manufacturerId?: number

    ID of the device's manufacturer, if available.

    rssi?: number

    Signal strength of the received packet, measured in dBm.

    serviceData: { [key: string]: Uint8Array }

    Data related to the services offered by the device.

    txPower?: number

    Transmission power of the packet, measured in dBm.

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean