AlarmConfig

AlarmConfig

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
internal var days: Array<Int>?

Weekdays for repeating alarm. The value is an Array<Int>. Each item can be: Calendar.MONDAY Calendar.WEDNESDAY Calendar.FRIDAY Calendar.SATURDAY The days default is null.

Link copied to clipboard
@IntRange(from = 0, to = 23)
internal var hour: Int

The hour of the alarm.

Link copied to clipboard
internal var message: String

A custom message for the alarm or timer.

Link copied to clipboard
@IntRange(from = 0, to = 59)
internal var minutes: Int

The minutes of the alarm.

Link copied to clipboard
internal var music: Uri?

A ringtone to be played with this alarm. Default value is null.

Link copied to clipboard
internal var skipUI: Boolean

Whether or not to display an activity after performing the action. Default value is false.

Link copied to clipboard
internal var vibrate: Boolean

Whether or not to activate the device vibrator. Default value is false.

Functions

Link copied to clipboard
Link copied to clipboard
fun setHour(@IntRange(from = 0, to = 23) hour: Int): IntentUtils.AlarmConfig
Link copied to clipboard
fun setMinutes(@IntRange(from = 0, to = 59) minutes: Int): IntentUtils.AlarmConfig
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard