One Logo Pool Ball
AlarmKit · IOS API REFERENCE

Alarm.Schedule.Relative.Time

struct · iOS 26.0+ · SDK 27.1

struct Time

An object that describes the hour and minute at which an alarm alerts.

Members (5)

init · iOS 26.0+

init

TypeScript
static init(hour: number, minute: number): Alarm_Schedule_Relative_Time
Swift declaration
init(hour: Int, minute: Int)

Creates an instance of time. - Parameters: - hour: The hour at which the alarm will alert. - minute: The minute of the hour at which the alarm...

get · iOS 26.0+

hour

TypeScript
get hour(): number
Swift declaration
var hour: Int

The hour mark the alarm alerts.

set · iOS 26.0+

hour

TypeScript
set hour(value: number)
Swift declaration
var hour: Int

The hour mark the alarm alerts.

get · iOS 26.0+

minute

TypeScript
get minute(): number
Swift declaration
var minute: Int

The minute of the hour the alarm alerts.

set · iOS 26.0+

minute

TypeScript
set minute(value: number)
Swift declaration
var minute: Int

The minute of the hour the alarm alerts.

Skipped declarations

No declarations were skipped in this snapshot.

All AlarmKit types →