diff --git a/classes/bluetooth.BluetoothImpl.html b/classes/bluetooth.BluetoothImpl.html
index 1e5e723b..3273a4f2 100644
--- a/classes/bluetooth.BluetoothImpl.html
+++ b/classes/bluetooth.BluetoothImpl.html
@@ -1,5 +1,5 @@
Hierarchy
- EventDispatcher<BluetoothEvents>
Index
Hierarchy
- EventDispatcher<BluetoothEvents>
Constructors
Properties
Protected
emitter
emitter: EventEmitter<DefaultEventMap> = ...
Optional
Readonly
referringDevice
referringDevice?: BluetoothDevice
Accessors
onadvertisementreceived
- set onadvertisementreceived(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onavailabilitychanged
- set onavailabilitychanged(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
oncharacteristicvaluechanged
- set oncharacteristicvaluechanged(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
ongattserverdisconnected
- set ongattserverdisconnected(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onserviceadded
- set onserviceadded(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onservicechanged
- set onservicechanged(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onserviceremoved
- set onserviceremoved(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
Methods
addEventListener
- addEventListener<K>(type, listener): void
Type Parameters
- K extends keyof BluetoothEvents
Parameters
- type: K
- listener: ((this: this, ev: BluetoothEvents[K]) => void)
- (this, ev): void
Parameters
- this: this
- ev: BluetoothEvents[K]
Returns void
Returns void
- addEventListener<K>(type, listener): void
Type Parameters
- K extends keyof BluetoothEvents
Parameters
- type: K
- listener: EventListener
Returns void
cancelRequest
- cancelRequest(): void
Returns void
dispatchEvent
- dispatchEvent(event): boolean
Returns boolean
getAvailability
- getAvailability(): Promise<boolean>
Properties
Protected
emitter
emitter: EventEmitter<DefaultEventMap> = ...
Optional
Readonly
referringDevice
referringDevice?: BluetoothDevice
Accessors
onadvertisementreceived
- set onadvertisementreceived(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onavailabilitychanged
- set onavailabilitychanged(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
oncharacteristicvaluechanged
- set oncharacteristicvaluechanged(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
ongattserverdisconnected
- set ongattserverdisconnected(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onserviceadded
- set onserviceadded(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onservicechanged
- set onservicechanged(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
onserviceremoved
- set onserviceremoved(fn): void
Parameters
- fn: ((ev: Event) => void)
Returns void
Methods
addEventListener
- addEventListener<K>(type, listener): void
Type Parameters
- K extends keyof BluetoothEvents
Parameters
- type: K
- listener: ((this: this, ev: BluetoothEvents[K]) => void)
- (this, ev): void
Parameters
- this: this
- ev: BluetoothEvents[K]
Returns void
Returns void
- addEventListener<K>(type, listener): void
Type Parameters
- K extends keyof BluetoothEvents
Parameters
- type: K
- listener: EventListener
Returns void
cancelRequest
- cancelRequest(): void
Returns void
dispatchEvent
- dispatchEvent(event): boolean
Returns boolean
getDevices
- getDevices(): Promise<BluetoothDevice[]>
Returns Promise<BluetoothDevice[]>
removeEventListener
- removeEventListener<K>(type, callback): void
Type Parameters
- K extends keyof BluetoothEvents
Parameters
- type: K
- callback: ((this: this, ev: BluetoothEvents[K]) => void)
- (this, ev): void
Parameters
- this: this
- ev: BluetoothEvents[K]
Returns void
Returns void
- removeEventListener<K>(type, callback): void
Type Parameters
- K extends keyof BluetoothEvents
Parameters
- type: K
- callback: EventListener
Returns void
requestDevice
- requestDevice(options?): Promise<BluetoothDevice>
+
Bluetooth class
-