Skip to content

//sdk-realtime/me.oriient.ipssdk.api.models/IPSSnapToRegionResult

IPSSnapToRegionResult

[androidJvm]\ data class IPSSnapToRegionResult(val snappedCoordinate: IPSCoordinateInBuilding, val region: IPSRegion, val regionPlacement: IPSRegionPlacement, val indexInInputList: Int, val distance: Double)

A result object representing the outcome of finding the closest region to a given coordinate.

Since

8.3.0

Constructors

IPSSnapToRegionResult [androidJvm]
constructor(snappedCoordinate: IPSCoordinateInBuilding, region: IPSRegion, regionPlacement: IPSRegionPlacement, indexInInputList: Int, distance: Double)

Properties

Name Summary
distance [androidJvm]
val distance: Double
The distance between the input coordinate and the closest region coordinate.
indexInInputList [androidJvm]
val indexInInputList: Int
The index of the closest region in the list of input regions.
region [androidJvm]
val region: IPSRegion
The closest region found for the provided coordinate.
regionPlacement [androidJvm]
val regionPlacement: IPSRegionPlacement
Information about the specific placement of the region within the building.
snappedCoordinate [androidJvm]
val snappedCoordinate: IPSCoordinateInBuilding
The coordinate in the building where the closest region was found.