setQuietTimeInterval

open fun setQuietTimeInterval(@NonNull startTime: Date, @NonNull endTime: Date)

Deprecated

Sets the Quiet Time interval.

Deprecated

This setting does not work on Android O+. Applications are encouraged to use com.urbanairship.push.notifications.NotificationChannelCompat instead.

Parameters

startTime

A Date instance indicating when Quiet Time should start.

endTime

A Date instance indicating when Quiet Time should end.