Type Method

isAuthorizedForRecording()

Returns a Boolean value indicating whether the app is authorized to record sensor data.

Declaration

class func isAuthorizedForRecording() -> Bool

Return Value

true if the app is authorized to record sensor data or false if it is not.

See Also

Checking the Availability of Sensor Recording

class func isAccelerometerRecordingAvailable() -> Bool

Returns a Boolean value indicating whether accelerometer recording is supported on the current device.

class func authorizationStatus() -> CMAuthorizationStatus

Returns a value indicating whether the app is authorized to record sensor data.

enum CMAuthorizationStatus

The authorization status for motion-related features.