Skip to content

Commit 2c35583

Browse files
authored
Merge pull request #554 from jeremysnell/patch-1
Added isConnectable to ScanParams interface
2 parents 1d2389d + 2c9b812 commit 2c35583

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

types/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,9 @@ declare namespace BluetoothlePlugin {
614614
/** Defaults to One Advertisement. Available from API23 (Android) */
615615
matchNum?: BluetoothMatchNum,
616616
/** Defaults to All Matches. Available from API21 / API 23. (Android) */
617-
callbackType?: BluetoothCallbackType
617+
callbackType?: BluetoothCallbackType,
618+
/** True/false to show only connectable devices, rather than all devices ever seen, defaults to false (Windows)*/
619+
isConnectable?: boolean
618620
}
619621

620622
interface NotifyParams {

0 commit comments

Comments
 (0)