cdp / com.salesforce.marketingcloud.cdp.location / Coordinates

Coordinates

data class Coordinates

This class is a coordinates wrapper used to set location on event tracking.

Constructors

<init>

This class is a coordinates wrapper used to set location on event tracking.

Coordinates(latitude: Double, longitude: Double)

Properties

latitude

Latitude coordinate (must be between -90 and 90)

val latitude: Double

longitude

Longitude coordinate (must be between -180 and 180)

val longitude: Double