> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# my.stopGyroscope

> Stop listening for gyroscope data.

Use this API to stop listening for gyroscope data.

## Parameters

| Property | Type | Required | Description |
| - | - | - | - |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure. Receives `error` (Number, error code) and `errorMessage` (String) |
| complete | Function | No | Callback that always executes |

## Code Example

```javascript theme={null}
my.stopGyroscope({
  success() {
    console.log('Gyroscope stopped');
  }
});
```

## Related APIs

> [card] [my.startGyroscope](https://docs.rebellapp.com/jsapi/device/gyroscope/my.startGyroscope.md)
>
> Start the gyroscope

> [card] [my.offGyroscopeChange](https://docs.rebellapp.com/jsapi/device/gyroscope/my.offGyroscopeChange.md)
>
> Remove gyroscope listeners


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.