//sdk-realtime/me.oriient.ipssdk.ips/IPSLocationVisit
IPSLocationVisit
data class IPSLocationVisit(val groupId: String?, val buildingId: String, val floorOrder: Int, val locationDefinition: IPSLocalProximityLocationDefinition, val onLocationVisited: (IPSLocationVisitStatistics) -> Unit)
Represents a location visit event that the SDK will notify when the user visits a location.
Since
9.9.0
Parameters
androidJvm
| groupId | optional group id for the event, used to remove multiple events at once |
| buildingId | the id of the building where the event is located |
| floorOrder | the floor order of the event |
| locationDefinition | the definition of the location area |
| onLocationVisited | callback invoked when the user leaves the location |
Constructors
| IPSLocationVisit | [androidJvm] constructor(groupId: String?, buildingId: String, floorOrder: Int, locationDefinition: IPSLocalProximityLocationDefinition, onLocationVisited: (IPSLocationVisitStatistics) -> Unit) |
Properties
| Name | Summary |
|---|---|
| buildingId | [androidJvm] val buildingId: String |
| floorOrder | [androidJvm] val floorOrder: Int |
| groupId | [androidJvm] val groupId: String? |
| locationDefinition | [androidJvm] val locationDefinition: IPSLocalProximityLocationDefinition |
| onLocationVisited | [androidJvm] val onLocationVisited: (IPSLocationVisitStatistics) -> Unit |