@situm/react-native 3.0.2 → 3.0.3-beta.1

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.
Files changed (111) hide show
  1. package/ReactNativeSitumPlugin.podspec +13 -10
  2. package/lib/commonjs/index.js +10 -22
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/sdk/index.js +13 -0
  5. package/lib/commonjs/sdk/index.js.map +1 -1
  6. package/lib/commonjs/sdk/types/constants.js +30 -0
  7. package/lib/commonjs/sdk/types/constants.js.map +1 -0
  8. package/lib/commonjs/{wayfinding/types/index.d.js → sdk/types/index.js} +1 -1
  9. package/lib/commonjs/{wayfinding/types/index.d.js.map → sdk/types/index.js.map} +1 -1
  10. package/lib/commonjs/utils/index.js +28 -0
  11. package/lib/commonjs/utils/index.js.map +1 -0
  12. package/lib/commonjs/utils/requestPermission.js +15 -14
  13. package/lib/commonjs/utils/requestPermission.js.map +1 -1
  14. package/lib/commonjs/wayfinding/components/MapView.js +11 -17
  15. package/lib/commonjs/wayfinding/components/MapView.js.map +1 -1
  16. package/lib/commonjs/wayfinding/hooks/index.js +44 -44
  17. package/lib/commonjs/wayfinding/hooks/index.js.map +1 -1
  18. package/lib/commonjs/wayfinding/index.js +4 -4
  19. package/lib/commonjs/wayfinding/index.js.map +1 -1
  20. package/lib/commonjs/wayfinding/store/index.js +3 -5
  21. package/lib/commonjs/wayfinding/store/index.js.map +1 -1
  22. package/lib/commonjs/wayfinding/types/constants.js +14 -0
  23. package/lib/commonjs/wayfinding/types/constants.js.map +1 -0
  24. package/lib/commonjs/wayfinding/types/index.js +6 -0
  25. package/lib/{module/wayfinding/types/index.d.js.map → commonjs/wayfinding/types/index.js.map} +1 -1
  26. package/lib/commonjs/wayfinding/utils/mapper.js +1 -0
  27. package/lib/commonjs/wayfinding/utils/mapper.js.map +1 -1
  28. package/lib/module/index.js +2 -3
  29. package/lib/module/index.js.map +1 -1
  30. package/lib/module/sdk/index.js +1 -0
  31. package/lib/module/sdk/index.js.map +1 -1
  32. package/lib/module/sdk/types/constants.js +21 -0
  33. package/lib/module/sdk/types/constants.js.map +1 -0
  34. package/lib/module/sdk/types/index.js +2 -0
  35. package/lib/module/sdk/types/index.js.map +1 -0
  36. package/lib/module/utils/index.js +3 -0
  37. package/lib/module/utils/index.js.map +1 -0
  38. package/lib/module/utils/requestPermission.js +14 -14
  39. package/lib/module/utils/requestPermission.js.map +1 -1
  40. package/lib/module/wayfinding/components/MapView.js +6 -11
  41. package/lib/module/wayfinding/components/MapView.js.map +1 -1
  42. package/lib/module/wayfinding/hooks/index.js +2 -2
  43. package/lib/module/wayfinding/hooks/index.js.map +1 -1
  44. package/lib/module/wayfinding/index.js +2 -1
  45. package/lib/module/wayfinding/index.js.map +1 -1
  46. package/lib/module/wayfinding/store/index.js +1 -4
  47. package/lib/module/wayfinding/store/index.js.map +1 -1
  48. package/lib/module/wayfinding/store/utils.js.map +1 -1
  49. package/lib/module/wayfinding/types/constants.js +7 -0
  50. package/lib/module/wayfinding/types/constants.js.map +1 -0
  51. package/lib/module/wayfinding/types/index.js +2 -0
  52. package/lib/module/wayfinding/types/index.js.map +1 -0
  53. package/lib/module/wayfinding/utils/mapper.js +1 -0
  54. package/lib/module/wayfinding/utils/mapper.js.map +1 -1
  55. package/lib/typescript/src/index.d.ts +4 -3
  56. package/lib/typescript/src/index.d.ts.map +1 -1
  57. package/lib/typescript/src/sdk/index.d.ts +4 -2
  58. package/lib/typescript/src/sdk/index.d.ts.map +1 -1
  59. package/lib/typescript/src/sdk/types/constants.d.ts +18 -0
  60. package/lib/typescript/src/sdk/types/constants.d.ts.map +1 -0
  61. package/lib/{commonjs/sdk/types/index.d.js → typescript/src/sdk/types/index.d.ts} +266 -32
  62. package/lib/typescript/src/sdk/types/index.d.ts.map +1 -0
  63. package/lib/typescript/src/utils/index.d.ts +3 -0
  64. package/lib/typescript/src/utils/index.d.ts.map +1 -0
  65. package/lib/typescript/src/utils/requestPermission.d.ts +1 -1
  66. package/lib/typescript/src/utils/requestPermission.d.ts.map +1 -1
  67. package/lib/typescript/src/wayfinding/components/MapView.d.ts +2 -5
  68. package/lib/typescript/src/wayfinding/components/MapView.d.ts.map +1 -1
  69. package/lib/typescript/src/wayfinding/hooks/index.d.ts +1 -1
  70. package/lib/typescript/src/wayfinding/hooks/index.d.ts.map +1 -1
  71. package/lib/typescript/src/wayfinding/index.d.ts +2 -1
  72. package/lib/typescript/src/wayfinding/index.d.ts.map +1 -1
  73. package/lib/typescript/src/wayfinding/store/index.d.ts +3 -3
  74. package/lib/typescript/src/wayfinding/store/index.d.ts.map +1 -1
  75. package/lib/typescript/src/wayfinding/store/utils.d.ts +1 -1
  76. package/lib/typescript/src/wayfinding/store/utils.d.ts.map +1 -1
  77. package/lib/typescript/src/wayfinding/types/constants.d.ts +5 -0
  78. package/lib/typescript/src/wayfinding/types/constants.d.ts.map +1 -0
  79. package/lib/typescript/src/wayfinding/types/index.d.ts +57 -0
  80. package/lib/typescript/src/wayfinding/types/index.d.ts.map +1 -0
  81. package/lib/typescript/src/wayfinding/utils/mapper.d.ts +3 -3
  82. package/lib/typescript/src/wayfinding/utils/mapper.d.ts.map +1 -1
  83. package/package.json +56 -14
  84. package/src/index.ts +5 -3
  85. package/src/sdk/index.ts +6 -2
  86. package/src/sdk/types/constants.ts +21 -0
  87. package/src/sdk/types/{index.d.ts → index.ts} +20 -158
  88. package/src/utils/index.ts +2 -0
  89. package/src/utils/requestPermission.ts +14 -15
  90. package/src/wayfinding/components/MapView.tsx +23 -21
  91. package/src/wayfinding/hooks/index.ts +10 -8
  92. package/src/wayfinding/index.ts +2 -1
  93. package/src/wayfinding/store/index.tsx +10 -10
  94. package/src/wayfinding/store/utils.ts +1 -1
  95. package/src/wayfinding/types/constants.ts +5 -0
  96. package/src/wayfinding/types/{index.d.ts → index.ts} +7 -3
  97. package/src/wayfinding/utils/mapper.ts +5 -5
  98. package/android/.idea/.name +0 -1
  99. package/android/.idea/codeStyles/Project.xml +0 -116
  100. package/android/.idea/encodings.xml +0 -6
  101. package/android/.idea/misc.xml +0 -31
  102. package/android/.idea/sonarlint/issuestore/index.pb +0 -15
  103. package/android/.project +0 -34
  104. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  105. package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  106. package/android/gradlew +0 -172
  107. package/android/gradlew.bat +0 -84
  108. package/lib/commonjs/sdk/types/index.d.js.map +0 -1
  109. package/lib/module/sdk/types/index.d.js +0 -347
  110. package/lib/module/sdk/types/index.d.js.map +0 -1
  111. package/lib/module/wayfinding/types/index.d.js +0 -2
@@ -1,347 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/ban-types */
3
-
4
- /**
5
- * @name Building
6
- * @description A Building object definition
7
- *
8
- * @property {string} buildingIdentifier - The unique identifier of the resource
9
- * @property {string} name - The building name that is appropriate for display to the user.
10
- * @property {string} address - Te building address.
11
- * @property {Bounds} bounds - Compute corners of this building, without rotation, in earth coordinates.
12
- * @property {Bounds} boundsRotated - Compute corners of this building, with rotation, in earth coordinates.
13
- * @property {Coordinate} center - Center of the building's base, as geographical coordinate.
14
- * @property {Dimensions} Dimensions - Dimensions of building's base (height and width) in meters.
15
- * @property {string} infoHtml - Additional information about building, formatted with HTML
16
- * @property {string} pictureThumbUrl - The URL of building thumbnail image
17
- * @property {string} pictureUrl - The URL of building image
18
- * @property {number} rotation - Rotation angle of the building's base, relative to the west-east axis, increasing in counter-clockwise, being 0 the west-east axis.
19
- * @property {string} userIdentifier - Unique identifier of the owner user of the building
20
- * @property {object} customFields - Map of custom fields, indexed by their name.
21
- */
22
-
23
- /** @name Bounds
24
- * @description Represents a rectangle bounds in a greographic 2D space.
25
- *
26
- * @property {Coordinate} northEast - The coordinate of the north-east corner of the bound.
27
- * @property {Coordinate} northWest - The coordinate of the north-west corner of the bound.
28
- * @property {Coordinate} southEast - The coordinate of the south-east corner of the bound.
29
- * @property {Coordinate} southWest - The coordinate of the south-east corner of the bound.
30
- */
31
-
32
- /** @name Dimensions
33
- * @description Define 2D dimensions of a rectangular area.
34
- *
35
- * @property {number} width - Width of rectangle in meters
36
- * @property {number} height - Height of rectangle in meters.
37
- */
38
-
39
- /**
40
- * @name Coordinate
41
- * @description A structure that contains geographical coordinate.
42
- *
43
- * @property {number} latitude - Latitude in degrees
44
- * @property {number} longitude - Longitude in degrees
45
- */
46
-
47
- /**
48
- * @name CartesianCoordinate
49
- * @description A structure that contains cartesian coordinate.
50
- *
51
- * @property {number} x - Value of coordinate at x-axis
52
- * @property {number} y - Value of coordinate at y-axis
53
- */
54
-
55
- /**
56
- * @name Floor
57
- * @description Floor of a building.
58
- *
59
- * @property {number} altitude - Altitude of the floor above ground level, in meters.
60
- * @property {string} buildingIdentifier - The identifier of building which this floor belongs.
61
- * @property {number} level - The number of the floor.
62
- * @property {string} name - The name of the floor
63
- * @property {string} mapUrl - The floor map image url
64
- * @property {number} scale - The scale of the floor image, in px/meters
65
- * @property {string} floorIdentifier - The unique identifier of the resource
66
- */
67
-
68
- /**
69
- * @name POI
70
- * @description Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.
71
- *
72
- * @property {string} identifier - The unique identifier of the resource
73
- * @property {string} buildingIdentifier - Identifier of building to which the POI belongs.
74
- * @property {CartesianCoordinate} cartesianCoordinate - Cartesian coordinate of this position, relative to building {@link Bounds}.
75
- * @property {Coordinate} coordinate - Geographical coordinate of this position
76
- * @property {string} floorIdentifier - If this POI is outside the building (isOutdoor == true), this field has no meaning.
77
- * @property {string} poiName - A name for the POI, appropriate for display to the user.
78
- * @property {Point} position - {@link Point} where the point is located.
79
- * @property {boolean} isIndoor - Whether the POI is placed outside the building or not.
80
- * @property {boolean} isOutdoor - Whether the POI is placed outside the building or not.
81
- * @property {PoiCategory} category - Category of the POI
82
- * @property {string} infoHtml - Additional information about POI, in HTML
83
- * @property {object} customFields - Map of custom fields, indexed by their name.
84
- */
85
-
86
- /**
87
- * @name Geofence
88
- * @description Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.
89
- *
90
- * @property {string} identifier - The unique identifier of the resource
91
- * @property {string} buildingIdentifier - Identifier of building to which the POI belongs.
92
- * @property {string} floorIdentifier - If this POI is outside the building (isOutdoor == true), this field has no meaning.
93
- * @property {string} name - A name for the geofence, appropriate for display to the user.
94
- * @property {string} infoHtml - Additional information about POI, in HTML
95
- * @property {Point[]} polygonPoints - List of points of that define the area of the geofence
96
- * @property {object} customFields - Map of custom fields, indexed by their name.
97
- */
98
-
99
- /**
100
- * @name PoiCategory
101
- * @description Category of Point of Interest.
102
- *
103
- * @property {string} poiCategoryCode - Unique code of the category
104
- * @property {string} poiCategoryName - The category name appropriate for display to the user
105
- * @property {string} icon_selected - The selected icon url
106
- * @property {string} icon_unselected - The unselected icon url
107
- * @property {boolean} public - Whether the category is public or not
108
- */
109
-
110
- /**
111
- * @name Point
112
- * @description Associate geographical coordinate (Location) with Building and Floor (Cartography) and cartesian coordinate relative to that building.
113
- *
114
- * @property {string} buildingIdentifier - Unique identifier for the building to which this point belongs
115
- * @property {CartesianCoordinate} cartesianCoordinate - Cartesian coordinate (in meters) relative to the Bounds of building's base.
116
- * @property {Coordinate} coordinate - Geographic coordinate (latitude, longitude) of the point, regardless of whether it's placed inside or outside the building.
117
- * @property {string} floorIdentifier - Floor identifier (inside the building) where this point is placed.
118
- * @property {boolean} isIndoor - If the POI is inside the building.
119
- * @property {boolean} idOutdoor - If the POI is outside the building.
120
- */
121
-
122
- /**
123
- * @name Route
124
- * @description Route between two points.
125
- *
126
- * @property {RouteStep[]} edges - Ordered list of steps to go to the goal point
127
- * @property {RouteStep} firstStep - First step
128
- * @property {Point} from - Point where the route starts.
129
- * @property {Indication} indications - Ordered list of instructions to go to the destination
130
- * @property {RouteStep} lastStep - Last step
131
- * @property {Point[]} nodes - A collection of points of the route (not ordered)
132
- * @property {Point[]} points - List of ordered points of the route
133
- * @property {Point} to - Last point and goal of the route.
134
- * @property {RouteStep[]} steps - Ordered list of steps to go to the goal point
135
- * @property {RouteSegment[]} segments - List of segments formed by consecutive points and a floor identifier
136
- */
137
-
138
- /**
139
- * @name RouteStep
140
- * @description A fragment of a route, described by the initial point from and the last point to of the fragment, and some information about the step within the route.
141
- *
142
- * @property {number} distance - Distance between from and to in meters.
143
- * @property {number} distanceToGoal - Distance in meters between the start point of this step (from) and the last point in the route ('to' of the last step).
144
- * @property {Point} from - Start point of this step.
145
- * @property {number} id - Position of this RouteStep in the list of steps (Route.steps) of the route to which it belongs.
146
- * @property {Point} to - End point of this step.
147
- * @property {boolean} isFirst - Returns true if this is the first step in the route.
148
- * @property {boolean} isLast - Returns true if this is the last step in the route.
149
- */
150
-
151
- /**
152
- * @name RouteSegment
153
- * @description A fragment of a route, described by a floor identifier and a list of consecutive points from the same floor
154
- *
155
- * @property {string} floorIdentifier - Identifier of the floor containing the points in this segment
156
- * @property {Point[]} points - Consecutive points in the same floor forming a path
157
- */
158
-
159
- /**
160
- * @name Indication
161
- * @description Represents the instruction that a user should follow when on a RouteStep to continue the route.
162
- *
163
- * @property {number} distance - The distance between the origin and destination
164
- * @property {number} distanceToNextLevel - The number of levels between the origin and destination
165
- * @property {string} indicationType - The Indication.Action of the instruction as String
166
- * @property {number} orientation - The angle a user should change his direction in order to go from the origin to the destination.
167
- * @property {string} orientationType - The Indication.Orientation of the instruction as String
168
- * @property {number} stepIdxDestination - The index of the indication's step of destination.
169
- * @property {number} stepIdxOrigin - The index of the indication's step of origin
170
- * @property {boolean} neededLevelChange - If the user should change the level in order to arrive to destination
171
- */
172
-
173
- /**
174
- * @name NavigationProgress
175
- * @description Provides information of the progress of a user while following a route.
176
- *
177
- * @property {Point} closestPointInRoute - Closest point in the route from the user location provided . @deprecated Use closestLocationInRoute instead.
178
- * @property {Location} closestLocationInRoute - Closest location in the route from the user location provided .
179
- * @property {number} distanceToClosestPointInRoute - Distance between the real user location (provided to updateWithLocation(Location)) and the closest route location.
180
- * @property {Indication} currentIndication - The current indication.
181
- * @property {Indication} nextIndication - The next indication.
182
- * @property {number} currentStepIndex - The index of the closest route step to the user, where closestLocationInRoute is.
183
- * @property {number} distanceToGoal - The distance in meters from closestLocationInRoute to route's goal point.
184
- * @property {number} distanceToEndStep - The distance in meters to go from closestLocationInRoute to the end of the current step.
185
- * @property {number} timeToEndStep - The estimated time to go from closestLocationInRoute to the end of the current route step, considering a speed of 1 meter/second.
186
- * @property {number} timeToGoal - The estimated time to go from closestLocationInRoute to the goal/end of route, considering a speed of 1 meter/second.
187
- * @property {RouteStep} routeStep - The closest route step to the user, where closestLocationInRoute is.
188
- * @property {Point[]} points - List of ordered points of the remaining route
189
- * @property {RouteSegment[]} segments - List of segments formed by consecutive points and a floor identifier
190
- */
191
-
192
- /**
193
- * @name SitumEvent
194
- * @description An event: POI with radius, conversion area and asociated statistics. It is intended for usage in marketing apps.
195
- *
196
- * @property {number} buildingIdentifier - The identifier of the building this floor belongs to. Deprecated, use trigger.center.buildingIdentifier instead
197
- * @property {number} identifier - Unique identifier of the SitumEvent.
198
- * @property {number} floorIdentifier - The identifier of the floor this event is located at. @deprecated, use trigger.center.floorIdentifier instead
199
- * @property {string} infoHtml - Information contained into the event, in HTML format.
200
- * @property {SitumConversionArea} conversionArea - Location where the event is located. @deprecated, use conversion instead
201
- * @property {Circle} conversion - Location where the event is located.
202
- * @property {Circle} trigger - Location where the event should be fired
203
- * @property {object} customFields - Key-value pairs that allow to extend and fully customize the information associated with the event.
204
- * @property {number} radius - Radius of the event associated area. @deprecated, use trigger.radius instead
205
- * @property {string} name - Name of the event
206
- * @property {number} x - Center of the event in the x-axis. @deprecated, use trigger.center.cartesianCoordinate.x instead
207
- * @property {number} y - Center of the event in the y-axis. @deprecated, use trigger.center.cartesianCoordinate.y instead
208
- */
209
-
210
- /**
211
- * @name SitumConversionArea
212
- * @description A rectangular area of a floor defining the conversion area of an event
213
- *
214
- * @property {number} floorIdentifier - The identifier of the floor the SitumConversionArea is located at.
215
- * @property {object} topLeft - Top-left corner
216
- * @property {object} topRight - Top-right corner
217
- * @property {object} bottomLeft - Bottom-left corner
218
- * @property {object} bottomRight - Bottom-right corner
219
- */
220
-
221
- /**
222
- * @name Circle
223
- * @description A circular area
224
- *
225
- * @property {Point} center - The center of the circle
226
- * @property {number} radius - The radius of the circle
227
- */
228
-
229
- /**
230
- * @name LocationOptions
231
- * @description A data object that contains parameters for the location service, LocationManager.
232
- *
233
- * @property {number} buildingIdentifier - Identifier of the building on which the positioning will be started
234
- * @property {number} interval - Default interval (in milliseconds) to notify location updates
235
- * @property {string} indoorProvider - Default indoor provider. Possible values are INPHONE and SUPPORT
236
- * @property {boolean} useBle - Defines whether or not to use BLE for positioning
237
- * @property {boolean} useWifi - Defines whether or not to use Wi-Fi for positioning
238
- * @property {boolean} useGps - Defines whether or not to use the GPS for indoor positioning
239
- * @property {boolean} useBarometer - Defines whether or not to use barometer for indoor positioning
240
- * @property {string} motionMode - Default motion mode. Possible values are BY_CAR, BY_FOOT and RADIOMAX
241
- * @property {boolean} useForegroundService - Defines whether or not to activate the {@link http://developers.situm.es/pages/android/using_situm_sdk_background.html foreground service}
242
- * @property {boolean} useDeadReckoning - Defines whether ot not to use dead reckoning to get fast position updates using only the inertial sensors, between the server position updates.
243
- * @property {OutdoorLocationOptions} outdoorLocationOptions - Outdoor location options. Only used in an indoor/outdoor request
244
- * @property {BeaconFilter[]} beaconFilters - Deprecated - Beacon filters to be handled during scan time, otherwise only Situm beacons will be scanned. Can be invoked multiple times to add as much beacon filters as you want. The SitumSDK now does it automatically
245
- * @property {number} smallestDisplacement - Default smallest displacement to nofiy location updates
246
- * @property {string} realtimeUpdateInterval - Default interval to send locations to the Realtime. Possible values are REALTIME, FAST, NORMAL, SLOW and BATTERY_SAVER
247
- * @property {boolean} autoEnableBleDuringPositioning - Set if the BLE should be re-enabled during positioning if the ble is used. Android only
248
- */
249
-
250
- /**
251
- * @name LocationRequest
252
- * @description A data object that contains parameters for the location service, LocationManager.
253
- *
254
- * @property {Building} building 0 - Building on which the positioning will be started
255
- * @property {LocationOptions} locationOptions 1 - Location options.
256
- */
257
-
258
- /**
259
- * @name NavigationRequest
260
- * @description A data object that contains parameters for the navigation service, NavigationManager.
261
- *
262
- * @property {number} distanceToChangeIndicationThreshold - Distance threshold from when the next indication is considered reached.
263
- * @property {number} distanceToFloorChangeThreshold - Distance threshold from when a floor change is considered reached.
264
- * @property {number} distanceToGoalThreshold - Distance threshold from when the goal is considered reached.
265
- * @property {number} distanceToIgnoreFirstIndication - Maximum distance to ignore the first indication when navigating a route (Only available for Android).
266
- * @property {number} ignoreLowQualityLocations - Set if low quality locations should be ignored. (Only available for Android).
267
- * @property {number} indicationsInterval - Time to wait between indications.
268
- * @property {number} outsideRouteThreshold - Set the distance to consider the use is outside of the route. A type=userOutsideRoute will be sent trough the NavigationListener .
269
- * @property {number} roundIndicationsStep - Step that will be used to round indications distance.
270
- * @property {number} timeToFirstIndication - Time to wait until the first indication is returned.
271
- * @property {number} timeToIgnoreUnexpectedFloorChanges - Time (in millis) to ignore the locations received during navigation, when the next indication is a floor change, if the locations are in a wrong floor (not in origin or destination floors).
272
- */
273
-
274
- /**
275
- * @name DirectionsRequest
276
- * @description A data object that contains the request for directions.
277
- *
278
- * @property {Building} positioningBuilding
279
- * @property {Point|Location} from - Current user's position as the starting point of the route.
280
- * @property {Point|POI} to - Point to, where the route should end.
281
- * @property {DirectionsOptions} options - Options that can be added to the request.
282
- */
283
-
284
- /**
285
- * @name DirectionsOptions
286
- * @description A data object that contains the directions options.
287
- *
288
- * @property {boolean} minimizeFloorChanges - Defines wheter or not the route should be calculated minimizing the floor changes even if the result is longer.
289
- * @property {boolean} accessibleRoute - Deprecated, use accessibilityMode. Defines wheter or not the route has to be suitable for wheel chairs (true) or not (false).
290
- * @property {boolean} accessible - Deprecated, use accessibilityMode. Defines wheter or not the route has to be suitable for wheel chairs (true) or not (false).
291
- * @property {string} accessibilityMode - Defines the accessibility mode of the route. Possible values are: CHOOSE_SHORTEST, ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES, ONLY_ACCESSIBLE
292
- * @property {number} startingAngle - Current user's orientation in degrees.
293
- */
294
-
295
- /**
296
- * @name OutdoorLocationOptions
297
- * @description Outdoor location options are only used in indoor-outdoor mode (Only available for Android)
298
- *
299
- * @property {boolean} continuousMode - Environment detection continuous mode (true) or burst mode (false).
300
- * @property {boolean} userDefinedThreshold
301
- * @property {number} burstInterval - Interval to scan for GPS and detect the environment (in seconds).
302
- * @property {number} averageSnrThreshold
303
- */
304
-
305
- /**
306
- * @name BeaconFilter
307
- * @description Represents a BLE filter. Now the only field is the BLE proximity UUID
308
- *
309
- * @property {string} uuid - Assigns the proximity UUID
310
- */
311
-
312
- /**
313
- * @name RealTimeRequest
314
- * @description A data object that contains the parameters to process realtime data of the users.
315
- *
316
- * @property {Building} building object
317
- * @property {int} pollTime - Interval in milliseconds (minimum is 3000ms).
318
- */
319
-
320
- /**
321
- * @name RealTimeData
322
- * @description A data object that contains information of the location of users in realtime.
323
- *
324
- * @property {Array<Location>} locations object
325
- */
326
-
327
- export let LocationStatusName = /*#__PURE__*/function (LocationStatusName) {
328
- LocationStatusName["STARTING"] = "STARTING";
329
- LocationStatusName["CALCULATING"] = "CALCULATING";
330
- LocationStatusName["POSITIONING"] = "POSITIONING";
331
- LocationStatusName["USER_NOT_IN_BUILDING"] = "USER_NOT_IN_BUILDING";
332
- LocationStatusName["STOPPED"] = "STOPPED";
333
- return LocationStatusName;
334
- }({});
335
- export let NavigationStatus = /*#__PURE__*/function (NavigationStatus) {
336
- NavigationStatus["START"] = "start";
337
- NavigationStatus["STOP"] = "stop";
338
- NavigationStatus["UPDATE"] = "update";
339
- return NavigationStatus;
340
- }({});
341
- export let NavigationUpdateType = /*#__PURE__*/function (NavigationUpdateType) {
342
- NavigationUpdateType["progress"] = "PROGRESS";
343
- NavigationUpdateType["userOutsideRoute"] = "OUT_OF_ROUTE";
344
- NavigationUpdateType["destinationReached"] = "DESTINATION_REACHED";
345
- return NavigationUpdateType;
346
- }({});
347
- //# sourceMappingURL=index.d.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["LocationStatusName","NavigationStatus","NavigationUpdateType"],"sourceRoot":"../../../../src","sources":["sdk/types/index.d.ts"],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;AACA;AACA;AACA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;;AAmCA,WAAYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA;AAgC9B,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAM5B,WAAYC,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.js.map