PushSchedule

@Immutable
data class PushSchedule(val timezone: String, val quietHours: List<QuietHoursRule>)

A recurring quiet-hours schedule. While any of its windows is active, the server drops (does not delay) the user's push notifications for chat messages, calls (including ringing) and feeds. Reminder pushes are still delivered.

Parameters

timezone

IANA time zone name the windows are evaluated in, for example Europe/Amsterdam. Offsets such as +02:00 are rejected. Use TimeZone.getDefault().id for the device zone.

quietHours

The quiet windows, 1 to 7 rules.

Constructors

Link copied to clipboard
constructor(timezone: String, quietHours: List<QuietHoursRule>)

Properties

Link copied to clipboard
Link copied to clipboard