@situm/cordova 3.14.14 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@
38
38
  <ul></ul>
39
39
  </div>
40
40
 
41
- <div class="lnb-api hidden"><h3>Namespaces</h3><ul><li><a href="MapView.html">MapView</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapView_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapView.html#.onLoad">onLoad</a></li></ul></div></li><li><a href="MapViewController.html">MapViewController</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapViewController_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapViewController.html#.navigateToPoi">navigateToPoi</a></li><li><a href="MapViewController.html#.onPoiDeselected">onPoiDeselected</a></li><li><a href="MapViewController.html#.onPoiSelected">onPoiSelected</a></li><li><a href="MapViewController.html#.selectPoi">selectPoi</a></li><li><a href="MapViewController.html#.setDirectionsOptions">setDirectionsOptions</a></li><li><a href="MapViewController.html#.setLanguage">setLanguage</a></li></ul></div></li><li><a href="Situm.html">Situm</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="Situm_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="Situm.html#.fetchBuildingInfo">fetchBuildingInfo</a></li><li><a href="Situm.html#.fetchBuildings">fetchBuildings</a></li><li><a href="Situm.html#.fetchEventsFromBuilding">fetchEventsFromBuilding</a></li><li><a href="Situm.html#.fetchFloorsFromBuilding">fetchFloorsFromBuilding</a></li><li><a href="Situm.html#.fetchGeofencesFromBuilding">fetchGeofencesFromBuilding</a></li><li><a href="Situm.html#.fetchIndoorPOIsFromBuilding">fetchIndoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchMapFromFloor">fetchMapFromFloor</a></li><li><a href="Situm.html#.fetchOutdoorPOIsFromBuilding">fetchOutdoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchPoiCategories">fetchPoiCategories</a></li><li><a href="Situm.html#.fetchPoiCategoryIconNormal">fetchPoiCategoryIconNormal</a></li><li><a href="Situm.html#.fetchPoiCategoryIconSelected">fetchPoiCategoryIconSelected</a></li><li><a href="Situm.html#.getDeviceId">getDeviceId</a></li><li><a href="Situm.html#.internalSetEventDelegate">internalSetEventDelegate</a></li><li><a href="Situm.html#.invalidateCache">invalidateCache</a></li><li><a href="Situm.html#.onEnterGeofences">onEnterGeofences</a></li><li><a href="Situm.html#.onExitGeofences">onExitGeofences</a></li><li><a href="Situm.html#.onLocationError">onLocationError</a></li><li><a href="Situm.html#.onLocationStatus">onLocationStatus</a></li><li><a href="Situm.html#.onLocationUpdate">onLocationUpdate</a></li><li><a href="Situm.html#.removeNavigationUpdates">removeNavigationUpdates</a></li><li><a href="Situm.html#.removeRealTimeUpdates">removeRealTimeUpdates</a></li><li><a href="Situm.html#.removeUpdates">removeUpdates</a></li><li><a href="Situm.html#.requestDirections">requestDirections</a></li><li><a href="Situm.html#.requestLocationUpdates">requestLocationUpdates</a></li><li><a href="Situm.html#.requestNavigationUpdates">requestNavigationUpdates</a></li><li><a href="Situm.html#.requestRealTimeUpdates">requestRealTimeUpdates</a></li><li><a href="Situm.html#.setApiKey">setApiKey</a></li><li><a href="Situm.html#.setCacheMaxAge">setCacheMaxAge</a></li><li><a href="Situm.html#.setUserPass">setUserPass</a></li><li><a href="Situm.html#.startPositioning">startPositioning</a></li><li><a href="Situm.html#.stopPositioning">stopPositioning</a></li><li><a href="Situm.html#.updateNavigationState">updateNavigationState</a></li><li><a href="Situm.html#.updateNavigationWithLocation">updateNavigationWithLocation</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#Angle">Angle</a></li><li><a href="global.html#BeaconFilter">BeaconFilter</a></li><li><a href="global.html#Bounds">Bounds</a></li><li><a href="global.html#Building">Building</a></li><li><a href="global.html#BuildingInfo">BuildingInfo</a></li><li><a href="global.html#CartesianCoordinate">CartesianCoordinate</a></li><li><a href="global.html#Circle">Circle</a></li><li><a href="global.html#Coordinate">Coordinate</a></li><li><a href="global.html#Dimensions">Dimensions</a></li><li><a href="global.html#DirectionsOptions">DirectionsOptions</a></li><li><a href="global.html#DirectionsRequest">DirectionsRequest</a></li><li><a href="global.html#ExternalNavigation">ExternalNavigation</a></li><li><a href="global.html#Floor">Floor</a></li><li><a href="global.html#ForegroundServiceNotificationOptions">ForegroundServiceNotificationOptions</a></li><li><a href="global.html#Geofence">Geofence</a></li><li><a href="global.html#Indication">Indication</a></li><li><a href="global.html#Location">Location</a></li><li><a href="global.html#LocationOptions">LocationOptions</a></li><li><a href="global.html#LocationRequest">LocationRequest</a></li><li><a href="global.html#LocationStatus">LocationStatus</a></li><li class="hidden"><a href="global.html#MapViewDirectionsOptions">MapViewDirectionsOptions</a></li><li><a href="global.html#NavigationProgress">NavigationProgress</a></li><li><a href="global.html#NavigationRequest">NavigationRequest</a></li><li class="hidden"><a href="global.html#OnLocationErrorCallback">OnLocationErrorCallback</a></li><li class="hidden"><a href="global.html#OnLocationStatusCallback">OnLocationStatusCallback</a></li><li class="hidden"><a href="global.html#OnLocationUpdateCallback">OnLocationUpdateCallback</a></li><li><a href="global.html#OutdoorLocationOptions">OutdoorLocationOptions</a></li><li><a href="global.html#POI">POI</a></li><li><a href="global.html#PoiCategory">PoiCategory</a></li><li><a href="global.html#PoiDeselectedResult">PoiDeselectedResult</a></li><li><a href="global.html#Point">Point</a></li><li><a href="global.html#PoiSelectedResult">PoiSelectedResult</a></li><li><a href="global.html#RealTimeData">RealTimeData</a></li><li><a href="global.html#RealTimeRequest">RealTimeRequest</a></li><li><a href="global.html#Route">Route</a></li><li><a href="global.html#RouteSegment">RouteSegment</a></li><li><a href="global.html#RouteStep">RouteStep</a></li><li><a href="global.html#SitumConversionArea">SitumConversionArea</a></li><li><a href="global.html#SitumEvent">SitumEvent</a></li></ul></div>
41
+ <div class="lnb-api hidden"><h3>Namespaces</h3><ul><li><a href="MapView.html">MapView</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapView_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapView.html#.onLoad">onLoad</a></li></ul></div></li><li><a href="MapViewController.html">MapViewController</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapViewController_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapViewController.html#.navigateToPoi">navigateToPoi</a></li><li><a href="MapViewController.html#.onPoiDeselected">onPoiDeselected</a></li><li><a href="MapViewController.html#.onPoiSelected">onPoiSelected</a></li><li><a href="MapViewController.html#.selectPoi">selectPoi</a></li><li><a href="MapViewController.html#.setDirectionsOptions">setDirectionsOptions</a></li><li><a href="MapViewController.html#.setLanguage">setLanguage</a></li></ul></div></li><li><a href="Situm.html">Situm</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="Situm_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="Situm.html#.configureUserHelper">configureUserHelper</a></li><li><a href="Situm.html#.disableUserHelper">disableUserHelper</a></li><li><a href="Situm.html#.enableUserHelper">enableUserHelper</a></li><li><a href="Situm.html#.fetchBuildingInfo">fetchBuildingInfo</a></li><li><a href="Situm.html#.fetchBuildings">fetchBuildings</a></li><li><a href="Situm.html#.fetchEventsFromBuilding">fetchEventsFromBuilding</a></li><li><a href="Situm.html#.fetchFloorsFromBuilding">fetchFloorsFromBuilding</a></li><li><a href="Situm.html#.fetchGeofencesFromBuilding">fetchGeofencesFromBuilding</a></li><li><a href="Situm.html#.fetchIndoorPOIsFromBuilding">fetchIndoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchMapFromFloor">fetchMapFromFloor</a></li><li><a href="Situm.html#.fetchOutdoorPOIsFromBuilding">fetchOutdoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchPoiCategories">fetchPoiCategories</a></li><li><a href="Situm.html#.fetchPoiCategoryIconNormal">fetchPoiCategoryIconNormal</a></li><li><a href="Situm.html#.fetchPoiCategoryIconSelected">fetchPoiCategoryIconSelected</a></li><li><a href="Situm.html#.getDeviceId">getDeviceId</a></li><li><a href="Situm.html#.internalSetEventDelegate">internalSetEventDelegate</a></li><li><a href="Situm.html#.invalidateCache">invalidateCache</a></li><li><a href="Situm.html#.onEnterGeofences">onEnterGeofences</a></li><li><a href="Situm.html#.onExitGeofences">onExitGeofences</a></li><li><a href="Situm.html#.onLocationError">onLocationError</a></li><li><a href="Situm.html#.onLocationStatus">onLocationStatus</a></li><li><a href="Situm.html#.onLocationUpdate">onLocationUpdate</a></li><li><a href="Situm.html#.removeNavigationUpdates">removeNavigationUpdates</a></li><li><a href="Situm.html#.removeRealTimeUpdates">removeRealTimeUpdates</a></li><li><a href="Situm.html#.removeUpdates">removeUpdates</a></li><li><a href="Situm.html#.requestDirections">requestDirections</a></li><li><a href="Situm.html#.requestLocationUpdates">requestLocationUpdates</a></li><li><a href="Situm.html#.requestNavigationUpdates">requestNavigationUpdates</a></li><li><a href="Situm.html#.requestRealTimeUpdates">requestRealTimeUpdates</a></li><li><a href="Situm.html#.setApiKey">setApiKey</a></li><li><a href="Situm.html#.setCacheMaxAge">setCacheMaxAge</a></li><li><a href="Situm.html#.setUserPass">setUserPass</a></li><li><a href="Situm.html#.startPositioning">startPositioning</a></li><li><a href="Situm.html#.stopPositioning">stopPositioning</a></li><li><a href="Situm.html#.updateNavigationState">updateNavigationState</a></li><li><a href="Situm.html#.updateNavigationWithLocation">updateNavigationWithLocation</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#Angle">Angle</a></li><li><a href="global.html#BeaconFilter">BeaconFilter</a></li><li><a href="global.html#Bounds">Bounds</a></li><li><a href="global.html#Building">Building</a></li><li><a href="global.html#BuildingInfo">BuildingInfo</a></li><li><a href="global.html#CartesianCoordinate">CartesianCoordinate</a></li><li><a href="global.html#Circle">Circle</a></li><li><a href="global.html#Coordinate">Coordinate</a></li><li><a href="global.html#Dimensions">Dimensions</a></li><li><a href="global.html#DirectionsOptions">DirectionsOptions</a></li><li><a href="global.html#DirectionsRequest">DirectionsRequest</a></li><li><a href="global.html#ExternalNavigation">ExternalNavigation</a></li><li><a href="global.html#Floor">Floor</a></li><li><a href="global.html#ForegroundServiceNotificationOptions">ForegroundServiceNotificationOptions</a></li><li><a href="global.html#Geofence">Geofence</a></li><li><a href="global.html#Indication">Indication</a></li><li><a href="global.html#Location">Location</a></li><li><a href="global.html#LocationOptions">LocationOptions</a></li><li><a href="global.html#LocationRequest">LocationRequest</a></li><li><a href="global.html#LocationStatus">LocationStatus</a></li><li class="hidden"><a href="global.html#MapViewDirectionsOptions">MapViewDirectionsOptions</a></li><li><a href="global.html#NavigationProgress">NavigationProgress</a></li><li><a href="global.html#NavigationRequest">NavigationRequest</a></li><li class="hidden"><a href="global.html#OnLocationErrorCallback">OnLocationErrorCallback</a></li><li class="hidden"><a href="global.html#OnLocationStatusCallback">OnLocationStatusCallback</a></li><li class="hidden"><a href="global.html#OnLocationUpdateCallback">OnLocationUpdateCallback</a></li><li><a href="global.html#OutdoorLocationOptions">OutdoorLocationOptions</a></li><li><a href="global.html#POI">POI</a></li><li><a href="global.html#PoiCategory">PoiCategory</a></li><li><a href="global.html#PoiDeselectedResult">PoiDeselectedResult</a></li><li><a href="global.html#Point">Point</a></li><li><a href="global.html#PoiSelectedResult">PoiSelectedResult</a></li><li><a href="global.html#RealTimeData">RealTimeData</a></li><li><a href="global.html#RealTimeRequest">RealTimeRequest</a></li><li><a href="global.html#Route">Route</a></li><li><a href="global.html#RouteSegment">RouteSegment</a></li><li><a href="global.html#RouteStep">RouteStep</a></li><li><a href="global.html#SitumConversionArea">SitumConversionArea</a></li><li><a href="global.html#SitumEvent">SitumEvent</a></li><li><a href="global.html#UserHelperColorScheme">UserHelperColorScheme</a></li><li><a href="global.html#UserHelperOptions">UserHelperOptions</a></li></ul></div>
42
42
  </nav>
43
43
  <div id="resizer"></div>
44
44
 
@@ -125,6 +125,531 @@
125
125
  <dl>
126
126
 
127
127
 
128
+ <dt>
129
+
130
+ <h4 class="name" id=".configureUserHelper">
131
+
132
+ <span class="type-signature"><span class="icon green">static</span> </span>configureUserHelper<span class="signature">(userHelperOptions, cb, error)</span><span class="type-signature"></span>
133
+
134
+
135
+ <div class="container-source members">
136
+ <code><a href="situm.js.html">situm.js</a></code>,
137
+ <code><a href="situm.js.html#line472">line 472</a></code>
138
+ </div>
139
+
140
+ </h4>
141
+
142
+
143
+
144
+ </dt>
145
+ <dd>
146
+
147
+
148
+ <div class="description">
149
+ Automatically assists users in resolving app-related permission and sensor issues.
150
+
151
+ This method tells the native SDKs to present a user interface that explains detected
152
+ configuration issues and guides users through the required steps to resolve them,
153
+ following best practices for runtime permission requests.
154
+
155
+ Issues addressed include:
156
+ - Missing permissions for Location or Bluetooth.
157
+ - Disabled Location or Bluetooth sensors.
158
+
159
+ Use the <code>userHelperOptions</code> parameter to configure the available options.
160
+ Call enableUserHelper as a shortcut to enable the user helper with default configuration.
161
+ Call disableUserHelper as a shortcut to disable the user helper.
162
+ </div>
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+ <div class="container-params">
173
+ <h5>Parameters:</h5>
174
+
175
+ <table class="params">
176
+ <thead>
177
+ <tr>
178
+
179
+ <th>Name</th>
180
+
181
+
182
+ <th>Type</th>
183
+
184
+
185
+
186
+
187
+
188
+ <th class="last">Description</th>
189
+ </tr>
190
+ </thead>
191
+
192
+ <tbody>
193
+
194
+
195
+ <tr>
196
+
197
+ <td class="name"><code>userHelperOptions</code></td>
198
+
199
+
200
+ <td class="type">
201
+
202
+
203
+ <span class="param-type"><a href="global.html#UserHelperOptions">UserHelperOptions</a></span>
204
+
205
+
206
+
207
+ </td>
208
+
209
+
210
+
211
+
212
+
213
+ <td class="description last">Options for the user helper.</td>
214
+ </tr>
215
+
216
+
217
+
218
+ <tr>
219
+
220
+ <td class="name"><code>cb</code></td>
221
+
222
+
223
+ <td class="type">
224
+
225
+
226
+ <span class="param-type">function</span>
227
+
228
+
229
+
230
+ </td>
231
+
232
+
233
+
234
+
235
+
236
+ <td class="description last">Cordova native callback to receive data.</td>
237
+ </tr>
238
+
239
+
240
+
241
+ <tr>
242
+
243
+ <td class="name"><code>error</code></td>
244
+
245
+
246
+ <td class="type">
247
+
248
+
249
+ <span class="param-type">function</span>
250
+
251
+
252
+
253
+ </td>
254
+
255
+
256
+
257
+
258
+
259
+ <td class="description last">Cordova native callback to receive errors.</td>
260
+ </tr>
261
+
262
+
263
+ </tbody>
264
+ </table>
265
+
266
+ </div>
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+ <dl class="details">
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+ </dl>
316
+
317
+
318
+
319
+
320
+ </dd>
321
+
322
+
323
+
324
+
325
+ <dt>
326
+
327
+ <h4 class="name" id=".disableUserHelper">
328
+
329
+ <span class="type-signature"><span class="icon green">static</span> </span>disableUserHelper<span class="signature">(cb, error)</span><span class="type-signature"></span>
330
+
331
+
332
+ <div class="container-source members">
333
+ <code><a href="situm.js.html">situm.js</a></code>,
334
+ <code><a href="situm.js.html#line496">line 496</a></code>
335
+ </div>
336
+
337
+ </h4>
338
+
339
+
340
+
341
+ </dt>
342
+ <dd>
343
+
344
+
345
+ <div class="description">
346
+ Disables the user helper.
347
+
348
+ Shortcut for configureUserHelper with <code>{enabled: false}</code>.
349
+ </div>
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+ <div class="container-params">
360
+ <h5>Parameters:</h5>
361
+
362
+ <table class="params">
363
+ <thead>
364
+ <tr>
365
+
366
+ <th>Name</th>
367
+
368
+
369
+ <th>Type</th>
370
+
371
+
372
+
373
+
374
+
375
+ <th class="last">Description</th>
376
+ </tr>
377
+ </thead>
378
+
379
+ <tbody>
380
+
381
+
382
+ <tr>
383
+
384
+ <td class="name"><code>cb</code></td>
385
+
386
+
387
+ <td class="type">
388
+
389
+
390
+ <span class="param-type">function</span>
391
+
392
+
393
+
394
+ </td>
395
+
396
+
397
+
398
+
399
+
400
+ <td class="description last">Cordova native callback to receive data.</td>
401
+ </tr>
402
+
403
+
404
+
405
+ <tr>
406
+
407
+ <td class="name"><code>error</code></td>
408
+
409
+
410
+ <td class="type">
411
+
412
+
413
+ <span class="param-type">function</span>
414
+
415
+
416
+
417
+ </td>
418
+
419
+
420
+
421
+
422
+
423
+ <td class="description last">Cordova native callback to receive errors.</td>
424
+ </tr>
425
+
426
+
427
+ </tbody>
428
+ </table>
429
+
430
+ </div>
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+ <dl class="details">
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+ </dl>
480
+
481
+
482
+
483
+
484
+ </dd>
485
+
486
+
487
+
488
+
489
+ <dt>
490
+
491
+ <h4 class="name" id=".enableUserHelper">
492
+
493
+ <span class="type-signature"><span class="icon green">static</span> </span>enableUserHelper<span class="signature">(cb, error)</span><span class="type-signature"></span>
494
+
495
+
496
+ <div class="container-source members">
497
+ <code><a href="situm.js.html">situm.js</a></code>,
498
+ <code><a href="situm.js.html#line484">line 484</a></code>
499
+ </div>
500
+
501
+ </h4>
502
+
503
+
504
+
505
+ </dt>
506
+ <dd>
507
+
508
+
509
+ <div class="description">
510
+ Enables the user helper.
511
+
512
+ Shortcut for configureUserHelper with <code>{enabled: true}</code>.
513
+ </div>
514
+
515
+
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+ <div class="container-params">
524
+ <h5>Parameters:</h5>
525
+
526
+ <table class="params">
527
+ <thead>
528
+ <tr>
529
+
530
+ <th>Name</th>
531
+
532
+
533
+ <th>Type</th>
534
+
535
+
536
+
537
+
538
+
539
+ <th class="last">Description</th>
540
+ </tr>
541
+ </thead>
542
+
543
+ <tbody>
544
+
545
+
546
+ <tr>
547
+
548
+ <td class="name"><code>cb</code></td>
549
+
550
+
551
+ <td class="type">
552
+
553
+
554
+ <span class="param-type">function</span>
555
+
556
+
557
+
558
+ </td>
559
+
560
+
561
+
562
+
563
+
564
+ <td class="description last">Cordova native callback to receive data.</td>
565
+ </tr>
566
+
567
+
568
+
569
+ <tr>
570
+
571
+ <td class="name"><code>error</code></td>
572
+
573
+
574
+ <td class="type">
575
+
576
+
577
+ <span class="param-type">function</span>
578
+
579
+
580
+
581
+ </td>
582
+
583
+
584
+
585
+
586
+
587
+ <td class="description last">Cordova native callback to receive errors.</td>
588
+ </tr>
589
+
590
+
591
+ </tbody>
592
+ </table>
593
+
594
+ </div>
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+ <dl class="details">
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+ </dl>
644
+
645
+
646
+
647
+
648
+ </dd>
649
+
650
+
651
+
652
+
128
653
  <dt>
129
654
 
130
655
  <h4 class="name" id=".fetchBuildingInfo">