Schedule

class Schedule

Specifies when and how long an alarm mute rule is active.

The schedule uses either a cron expression for recurring mute windows or an at expression for one-time mute windows. When the schedule activates, the mute rule mutes alarm actions for the specified duration.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The length of time that alarms remain muted when the schedule activates. The duration must be between 1 and 50 characters in length.

Link copied to clipboard

The schedule expression that defines when the mute rule activates. The expression must be between 1 and 256 characters in length.

Link copied to clipboard

The time zone to use when evaluating the schedule expression. The time zone must be between 1 and 50 characters in length.

Functions

Link copied to clipboard
inline fun copy(block: Schedule.Builder.() -> Unit = {}): Schedule
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String