sendImmediate

Tracks an Event at high priority and schedules it to be sent to the server along with any other pending events in the queue. Unlike track, this attempts to deliver queued events promptly rather than waiting for the next scheduled delivery.

This API is subject to SDK guardrails — there is a 60-second throttling period between consecutive calls. Use it only when timely delivery is important.

val event = CustomEvent("Purchase", mapOf("orderId" to "12345", "total" to 99.99))
SFMCSdk.sendImmediate(event)

Parameters

event

The Event to track at high priority.

See also