File tree Expand file tree Collapse file tree 2 files changed +43
-3
lines changed Expand file tree Collapse file tree 2 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,26 @@ export function getBluetoothInstance() {
3838 return _bluetoothInstance ;
3939}
4040
41- export * from './index.common' ;
41+ export {
42+ AdvertismentData ,
43+ BluetoothError ,
44+ BleTraceCategory ,
45+ Characteristic ,
46+ ConnectOptions ,
47+ DisconnectOptions ,
48+ DiscoverCharacteristicsOptions ,
49+ DiscoverOptions ,
50+ DiscoverServicesOptions ,
51+ MtuOptions ,
52+ Peripheral ,
53+ ReadOptions ,
54+ ReadResult ,
55+ Service ,
56+ StartNotifyingOptions ,
57+ StartScanningOptions ,
58+ StopNotifyingOptions ,
59+ WriteOptions
60+ } from './index.common' ;
4261
4362const sdkVersion = parseInt ( Device . sdkVersion , 10 ) ;
4463let context : android . content . Context ;
Original file line number Diff line number Diff line change @@ -23,8 +23,29 @@ import {
2323 shortenUuidIfAssignedNumber
2424} from './index.common' ;
2525
26- export * from './index.common' ;
27- export { Peripheral , ReadResult , Service } ;
26+ export {
27+ BluetoothError ,
28+ BleTraceCategory ,
29+ CallbackType ,
30+ Characteristic ,
31+ ConnectOptions ,
32+ DisconnectOptions ,
33+ DiscoverCharacteristicsOptions ,
34+ DiscoverOptions ,
35+ DiscoverServicesOptions ,
36+ MatchMode ,
37+ MatchNum ,
38+ MtuOptions ,
39+ Peripheral ,
40+ ReadOptions ,
41+ ReadResult ,
42+ ScanMode ,
43+ Service ,
44+ StartNotifyingOptions ,
45+ StartScanningOptions ,
46+ StopNotifyingOptions ,
47+ WriteOptions
48+ } from './index.common' ;
2849
2950function nativeEncoding ( encoding : string ) {
3051 switch ( encoding ) {
You can’t perform that action at this time.
0 commit comments