#[repr(transparent)]pub struct INDailyRoutineSituation(pub NSInteger);
INRelevanceProvider
only.Expand description
A relevant daily routine situation.
See also: INDailyRoutineRelevanceProvider
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl INDailyRoutineSituation
impl INDailyRoutineSituation
Sourcepub const Morning: Self
pub const Morning: Self
A situation that occurs in the morning, around the time the user wakes up.
Sourcepub const Evening: Self
pub const Evening: Self
A situation that occurs in the evening, around the time the user goes to bed.
Sourcepub const Home: Self
pub const Home: Self
A situation that occurs when the user is at home.
Note: Your app needs Always location authorization to use this situation.
See also: CLLocationManager
Sourcepub const Work: Self
pub const Work: Self
A situation that occurs when the user is at work.
Note: Your app needs Always location authorization to use this situation.
See also: CLLocationManager
Sourcepub const School: Self
pub const School: Self
A situation that occurs when the user is at school.
Note: Your app needs Always location authorization to use this situation.
See also: CLLocationManager
Sourcepub const Gym: Self
pub const Gym: Self
A situation that occurs when the user is at the gym.
Note: Your app needs Always location authorization to use this situation.
See also: CLLocationManager
Sourcepub const Commute: Self
pub const Commute: Self
A situation that occurs when the user is commuting, for example driving into work.
Sourcepub const HeadphonesConnected: Self
pub const HeadphonesConnected: Self
A situation that occurs when the user connects headphones.
Sourcepub const ActiveWorkout: Self
pub const ActiveWorkout: Self
A situation that occurs when the user is currently in a workout.
Sourcepub const PhysicalActivityIncomplete: Self
pub const PhysicalActivityIncomplete: Self
A situation that occurs when the user is expected to perform more physical activity during the day.
Trait Implementations§
Source§impl Clone for INDailyRoutineSituation
impl Clone for INDailyRoutineSituation
Source§fn clone(&self) -> INDailyRoutineSituation
fn clone(&self) -> INDailyRoutineSituation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more