TechnologiesHealth & Fitness

SafetyKit

iOSmacOStvOSwatchOSvisionOS

SafetyKit detects vehicle crash events and coordinates emergency response and Emergency SOS for safety apps on iOS, macOS, and watchOS. Use SACrashDetectionManager together with SACrashDetectionDelegate to receive SACrashDetectionEvent notifications, and SAEmergencyResponseManager with SAEmergencyResponseDelegate to coordinate the emergency response. Before monitoring, check the app's SAAuthorizationStatus, and handle failures reported through SAError.

Crash Detection 3

Monitor for vehicle crash events and respond when one is detected.

  • Cl
    SACrashDetectionManagerwatchOS 10.1+
    SACrashDetectionManager
  • Pr
    SACrashDetectionDelegatewatchOS 10.1+
    SACrashDetectionDelegate
  • Cl
    SACrashDetectionEventwatchOS 10.1+
    @brief This object describes a Crash Detection event and response to it.

Emergency Response 2

Coordinate the emergency response and Emergency SOS after a crash.

  • Cl
    SAEmergencyResponseManagerwatchOS 10.1+
    SAEmergencyResponseManager
  • Pr
    SAEmergencyResponseDelegatewatchOS 10.1+
    SAEmergencyResponseDelegate

Authorization 1

Check whether your app is permitted to monitor for crash detection events.

  • En
    SAAuthorizationStatuswatchOS 10.1+
    Constants that indicate whether your app is authorized to monitor for crash detection events.

Errors 1

Handle failures reported while monitoring or coordinating a response.

  • St
    SAErrorwatchOS 10.1+
    A structure that describes errors encountered while detecting crashes or coordinating a response.
← Health & Fitness