setSnoozePeriod

fun setSnoozePeriod(snoozeOn: Boolean, startTs: Long, endTs: Long, handler: CompletionHandler?)

Sets snooze period for the current User. If this option is enabled, the current User does not receive push notification during the given period. It's not a repetitive operation. If you want to snooze repeatedly, use setDoNotDisturb.

Since

3.0.86

Parameters

snoozeOn

Enables option or not.

startTs

Start timestamp of snooze period

endTs

End timestamp of snooze period

handler

Callback handler.