InAppAutomation

Provides a control interface for creating, canceling and executing in-app automations.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Paused state of in-app automation.

Functions

Link copied to clipboard
suspend fun cancelSchedule(identifier: String)

Cancels an in-app automation via its schedule identifier.

Link copied to clipboard
suspend fun cancelSchedules(group: String)

Cancels multiple in-app automations via their group.

suspend fun cancelSchedules(identifiers: List<String>)

Cancels multiple in-app automations via their schedule identifiers.

Link copied to clipboard
suspend fun getSchedules(identifier: String): AutomationSchedule?

Gets the in-app automation with the provided schedule identifier.

Link copied to clipboard

Gets the in-app automation with the provided group.

Link copied to clipboard
suspend fun upsertSchedules(schedules: List<AutomationSchedule>)

Creates the provided schedules or updates them if they already exist.