|
@@ -137,8 +137,7 @@ Type
|
|
Private
|
|
Private
|
|
FreferringDevice : TJSBluetoothDevice; external name 'referringDevice';
|
|
FreferringDevice : TJSBluetoothDevice; external name 'referringDevice';
|
|
Public
|
|
Public
|
|
-
|
|
|
|
- onavailabilitychanged : TJSEventHandler;
|
|
|
|
|
|
+ onavailabilitychanged : TJSEventHandler;
|
|
function getAvailability: TJSPromise;
|
|
function getAvailability: TJSPromise;
|
|
function requestDevice(options : TJSRequestDeviceOptions): TJSPromise; overload;
|
|
function requestDevice(options : TJSRequestDeviceOptions): TJSPromise; overload;
|
|
function requestDevice: TJSPromise; overload;
|
|
function requestDevice: TJSPromise; overload;
|
|
@@ -153,7 +152,7 @@ Type
|
|
TJSBluetoothPermissionResult = class external name 'BluetoothPermissionResult' (TJSOBject)
|
|
TJSBluetoothPermissionResult = class external name 'BluetoothPermissionResult' (TJSOBject)
|
|
Private
|
|
Private
|
|
Public
|
|
Public
|
|
- devices : TTJSBluetoothDeviceDynArray;
|
|
|
|
|
|
+ devices : TTJSBluetoothDeviceDynArray;
|
|
end;
|
|
end;
|
|
|
|
|
|
{ --------------------------------------------------------------------
|
|
{ --------------------------------------------------------------------
|
|
@@ -388,9 +387,9 @@ Type
|
|
|
|
|
|
TJSNavigator = class external name 'Navigator'
|
|
TJSNavigator = class external name 'Navigator'
|
|
Private
|
|
Private
|
|
- Fbluetooth : TJSBluetooth; external name 'bluetooth';
|
|
|
|
|
|
+ Fbluetooth : TJSBluetooth; external name 'bluetooth';
|
|
Public
|
|
Public
|
|
- Property bluetooth : TJSBluetooth Read Fbluetooth;
|
|
|
|
|
|
+ Property bluetooth : TJSBluetooth Read Fbluetooth;
|
|
end;
|
|
end;
|
|
|
|
|
|
implementation
|
|
implementation
|