Name

Custom notification events that the LocomotionManager may send.

  • locomotionSampleUpdated is sent whenever an updated LocomotionSample is available.

    Typically this indicates that a new CLLocation has arrived, however this notification will also be periodically sent even when no new location data is arriving, to indicate other changes to the current state. The location in these samples may differ from previous even though new location data is not available, due to older raw locations being discarded from the sample.

    Declaration

    Swift

    public static let locomotionSampleUpdated = Notification.Name("locomotionSampleUpdated")
  • willStartRecording is sent when recording is about to begin or resume.

    Declaration

    Swift

    public static let willStartRecording = Notification.Name("willStartRecording")
  • recordingStateChanged is sent after each recordingState change.

    Declaration

    Swift

    public static let recordingStateChanged = Notification.Name("recordingStateChanged")
  • movingStateChanged is sent after each movingState change.

    Declaration

    Swift

    public static let movingStateChanged = Notification.Name("movingStateChanged")
  • willStartSleepMode is sent when sleep mode is about to begin or resume.

    Note

    This includes both transitions from recording state and wakeup state.

    Declaration

    Swift

    public static let willStartSleepMode = Notification.Name("willStartSleepMode")
  • startedSleepMode is sent after transitioning from recording state to sleeping state.

    Declaration

    Swift

    public static let startedSleepMode = Notification.Name("startedSleepMode")
  • stoppedSleepMode is sent after transitioning from sleeping state to recording state.

    Declaration

    Swift

    public static let stoppedSleepMode = Notification.Name("stoppedSleepMode")
  • Undocumented

    Declaration

    Swift

    public static let didChangeAuthorizationStatus = Notification.Name("didChangeAuthorizationStatus")
  • Undocumented

    Declaration

    Swift

    public static let didVisit = Notification.Name("didVisit")
  • Undocumented

    Declaration

    Swift

    public static let newTimelineItem = Notification.Name("newTimelineItem")
  • Undocumented

    Declaration

    Swift

    public static let updatedTimelineItem = Notification.Name("updatedTimelineItem")
  • Undocumented

    Declaration

    Swift

    public static let finalisedTimelineItem = Notification.Name("finalisedTimelineItem")
  • Undocumented

    Declaration

    Swift

    public static let mergedTimelineItems = Notification.Name("mergedTimelineItems")
  • Undocumented

    Declaration

    Swift

    public static let debugInfo = Notification.Name("debugInfo")