Trait IUNLocationNotificationTrigger

Source
pub trait IUNLocationNotificationTrigger: IUNNotificationTrigger {
    // Provided methods
    fn m_trigger_with_region_repeats(region: CLRegion, repeats: bool) -> Self
       where Self: Sized + FromId { ... }
    fn p_region(&self) -> CLRegion { ... }
}
Expand description

A trait containing all the methods for UNLocationNotificationTrigger

Provided Methods§

Source

fn m_trigger_with_region_repeats(region: CLRegion, repeats: bool) -> Self
where Self: Sized + FromId,

Creates a location trigger using the region parameter.

Required features: "core_location"

Source

fn p_region(&self) -> CLRegion

The region used to determine when the system sends the notification.

Required features: "core_location"

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.

Implementors§