Skip to main content

imessage_database/tables/messages/models/
shared_location.rs

1/*!
2 Direction of a legacy shared-location event.
3*/
4
5/// Direction of a legacy shared-location event (`item_type == 4` with
6/// `group_action_type == 0`). The two cases are mutually exclusive: the
7/// underlying `share_status` bool distinguishes them.
8#[derive(Debug, Clone, Copy, PartialEq, Eq)]
9pub enum SharedLocation {
10    /// The sender began sharing their location.
11    Started,
12    /// The sender stopped sharing their location.
13    Stopped,
14}