---
title: isAuthorizedForRecording()
framework: coremotion
role: symbol
role_heading: Type Method
path: coremotion/cmsensorrecorder/isauthorizedforrecording()
---

# isAuthorizedForRecording()

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

## Declaration

```swift
class func isAuthorizedForRecording() -> Bool
```

## Return Value

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

- [isAccelerometerRecordingAvailable()](coremotion/cmsensorrecorder/isaccelerometerrecordingavailable().md)
- [authorizationStatus()](coremotion/cmsensorrecorder/authorizationstatus().md)
- [CMAuthorizationStatus](coremotion/cmauthorizationstatus.md)
