SRError.Code.promptDeclined
Occurs when the user cancels the sensor approval workflow.
Declaration
case promptDeclinedDiscussion
The requestAuthorization(sensors:completion:) passes this error into the completion closure if the user declines the prompt by pressing Cancel. The framework also cancels the prompt if you call this function after the user had already responded to the prompt either by approving or denying access to the argument sensors.