Files
puppeteer/docs/api/puppeteer.bluetoothemulation.simulatepreconnectedperipheral.md

828 B

sidebar_label
sidebar_label
BluetoothEmulation.simulatePreconnectedPeripheral

BluetoothEmulation.simulatePreconnectedPeripheral() method

Simulated preconnected Bluetooth Peripheral. See bluetooth.simulatePreconnectedPeripheral.

Signature

interface BluetoothEmulation {
  simulatePreconnectedPeripheral(
    preconnectedPeripheral: PreconnectedPeripheral,
  ): Promise<void>;
}

Parameters

Parameter

Type

Description

preconnectedPeripheral

PreconnectedPeripheral

The peripheral to simulate.

Returns:

Promise<void>