Skip to content

TSLocationConfig

Location tracking configuration for triggerAction(). Controls how device location data is collected when reporting an action event. The user must consent to sharing location in advance (see Track geolocation).

Properties

mode

• mode: string

The location collection mode. Accepted values: "disabled", "default", "forceCurrent", "forceLastKnown", "lastKnown"


validFor

• Optional validFor: number

For lastKnown mode, return location only if not older than this many seconds