ZelloLocationMessage

data class ZelloLocationMessage(val incoming: Boolean, val timestamp: Long, val contact: ZelloContact, val latitude: Double, val longitude: Double, val accuracy: Double, val address: String?, val channelUser: ZelloChannel.User? = null)

A Zello location message.

Constructors

Link copied to clipboard
constructor(incoming: Boolean, timestamp: Long, contact: ZelloContact, latitude: Double, longitude: Double, accuracy: Double, address: String?, channelUser: ZelloChannel.User? = null)

Create empty Zello location message

Properties

Link copied to clipboard

The horizontal accuracy of the location in meters.

Link copied to clipboard

The reverse-geolocation address, if available.

Link copied to clipboard

If incoming, the author that sent the message, if the message was sent in a channel. If outgoing, null.

Link copied to clipboard

The contact that sent or received the message. If this is a channel message, the contact will be the ZelloChannel.

Link copied to clipboard

Whether the message was received or sent.

Link copied to clipboard

The latitude of the location.

Link copied to clipboard

The longitude of the location.

Link copied to clipboard

The timestamp of the message.