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 eachrecordingState
change.Declaration
Swift
public static let recordingStateChanged = Notification.Name("recordingStateChanged")
-
movingStateChanged
is sent after eachmovingState
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 fromrecording
state andwakeup
state.Declaration
Swift
public static let willStartSleepMode = Notification.Name("willStartSleepMode")
-
startedSleepMode
is sent after transitioning fromrecording
state tosleeping
state.Declaration
Swift
public static let startedSleepMode = Notification.Name("startedSleepMode")
-
stoppedSleepMode
is sent after transitioning fromsleeping
state torecording
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")