MessageTimePickerTimeSlot
public struct MessageTimePickerTimeSlot : Equatable, Sendable
A single selectable time slot used by MessageTimePicker
It contains an identifier, duration, and the start date/time for the slot
-
Unique identifier for the time slot.
Declaration
Swift
public let id: String -
Duration of the time slot, in seconds.
Declaration
Swift
public let duration: Int -
Start date and time of the slot.
Declaration
Swift
public let startTime: Date
-
Creates a
MessageTimePickerTimeSlot.Declaration
Swift
public init(id: String, duration: Int, startTime: Date)Parameters
idUnique identifier for the slot, used to correlate the user’s selection.
durationSlot duration in seconds.
startTimeAbsolute start date/time of the slot.
View on GitHub