Function getScanningUpdates

  • Register a handler to receive updates when the scanning state changes

    Parameters

    • handler: ((scanning: boolean) => void)
        • (scanning): void
        • Parameters

          • scanning: boolean

          Returns void

    Returns Promise<void>