Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSExternalLocationSignal

IPSExternalLocationSignal

[androidJvm]\ data class IPSExternalLocationSignal(val sourceType: String, val sourceId: String?, val timestampMilli: Long, val floorOrder: Int, val coordinates: IPSCoordinate, val accuracy: Double, val confidence: Double)

A location estimation produced by a source external to the Oriient positioning engine (e.g. a host app's own BLE/WiFi/beacons-fusion layer), supplied to the SDK via IPSPositioning.consumeExternalLocationSignal.

Since

9.10.0

Constructors

IPSExternalLocationSignal [androidJvm]
constructor(sourceType: String, sourceId: String?, timestampMilli: Long, floorOrder: Int, coordinates: IPSCoordinate, accuracy: Double, confidence: Double)

Properties

Name Summary
accuracy [androidJvm]
val accuracy: Double
In meters, the accuracy of the location estimation. Defines the radius around coordinates.
confidence [androidJvm]
val confidence: Double
The source's own confidence in this location estimation, from 0 (no confidence) to 1 (full confidence). Distinct from accuracy, which describes spatial precision rather than certainty.
coordinates [androidJvm]
val coordinates: IPSCoordinate
The location estimation coordinates, in the Oriient coordinate system.
floorOrder [androidJvm]
val floorOrder: Int
The floor order (in the Oriient system) at which the user is estimated to be.
sourceId [androidJvm]
val sourceId: String?
An ID of the specific hotspot or beacon if the signal comes from an identified hardware source. Can be null if the signal comes from a combined system layer or an unidentified hardware source.
sourceType [androidJvm]
val sourceType: String
External location signal source type. Open string (e.g. "BLE", "WIFI", "Beacons system fusion", or any custom type).
timestampMilli [androidJvm]
val timestampMilli: Long
Epoch milliseconds of when the estimation is relevant to, so the SDK can tell how fresh this estimation is (e.g. half a second ago vs 10 seconds ago).