suspend

abstract fun suspend()

Suspends all active actions.

Android 12+ (API 31+) Note: This API starts a foreground service, which API 31+ apps may only start while the app is in the foreground. See foreground service background start restrictions.