pub trait IUNTimeIntervalNotificationTrigger: IUNNotificationTrigger {
// Provided methods
fn m_trigger_with_time_interval_repeats(
time_interval: NSTimeInterval,
repeats: bool,
) -> Self
where Self: Sized + FromId { ... }
fn m_next_trigger_date(&self) -> Option<NSDate> { ... }
fn p_time_interval(&self) -> NSTimeInterval { ... }
}
Expand description
A trait containing all the methods for UNTimeIntervalNotificationTrigger
Provided Methods§
Sourcefn m_trigger_with_time_interval_repeats(
time_interval: NSTimeInterval,
repeats: bool,
) -> Self
fn m_trigger_with_time_interval_repeats( time_interval: NSTimeInterval, repeats: bool, ) -> Self
Creates a time interval trigger using the time value parameter.
Sourcefn m_next_trigger_date(&self) -> Option<NSDate>
fn m_next_trigger_date(&self) -> Option<NSDate>
The next date at which the trigger conditions are met.
Sourcefn p_time_interval(&self) -> NSTimeInterval
fn p_time_interval(&self) -> NSTimeInterval
The time interval to create the trigger.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.