---
title: isAccelerometerRecordingAvailable()
framework: coremotion
role: symbol
role_heading: Type Method
path: coremotion/cmsensorrecorder/isaccelerometerrecordingavailable()
---

# isAccelerometerRecordingAvailable()

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

## Declaration

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

## Return Value

Return Value true if accelerometer recording is available or false if it is not.

## Discussion

Discussion Call this method before trying to record or retrieve any accelerometer data using the methods of this class. Accelerometer data recording is not supported on all devices.

## See Also

### Checking the Availability of Sensor Recording

- [authorizationStatus()](coremotion/cmsensorrecorder/authorizationstatus().md)
- [CMAuthorizationStatus](coremotion/cmauthorizationstatus.md)
- [isAuthorizedForRecording()](coremotion/cmsensorrecorder/isauthorizedforrecording().md)
