alarmSubject (property)
This property contains the subject of the message used to alert the user when this alarm is triggered.
Syntax
- (NSString*)alarmSubject:(int)alarmIndex; - (void)setAlarmSubject:(int)alarmIndex:(NSString*)newAlarmSubject;
public func alarmSubject(alarmIndex: Int32) throws -> String
public func setAlarmSubject(alarmIndex: Int32, newAlarmSubject: String) throws -> Void
Default Value
""
Remarks
This property contains the subject of the message used to alert the user when this alarm is triggered.
If AlarmAction is set to aEmail this property will contain the subject the email that is sent to the AlarmRecipient.
For instance:
CalDAV.Alarm.Action = aEmail; CalDAV.Alarm.Recipient = "mailto:john_doe@example.com"; CalDAV.Alarm.Message = "A draft agenda needs to be sent out to the attendees to the weekly managers meeting (MGR-LIST)."; CalDAV.Alarm.Subject = "REMINDER: Send agenda for weekly staff meeting.";AlarmSubject is not used for the aAudio or aDisplay alarm AlarmActions.
The AlarmIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AlarmCount property.