ProximityAlertTriggered

data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Int)

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

Parameters

traveler

User that triggered the alert

watcher

User that set the alert

distance

The distance between the users

Constructors

ProximityAlertTriggered
Link copied to clipboard
common
fun ProximityAlertTriggered(traveler: User, watcher: User, distance: Int)
User that triggered the alert

Functions

component1
Link copied to clipboard
common
operator fun component1(): User
component2
Link copied to clipboard
common
operator fun component2(): User
component3
Link copied to clipboard
common
operator fun component3(): Int
copy
Link copied to clipboard
common
fun copy(traveler: User, watcher: User, distance: Int): ProximityAlertTriggered
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

distance
Link copied to clipboard
common
val distance: Int
The distance between the users
traveler
Link copied to clipboard
common
val traveler: User
User that triggered the alert
watcher
Link copied to clipboard
common
val watcher: User
User that set the alert