{"_id":"@capacitor-geckoview/motion","_rev":"5-9ec09a5217ced6da5dad9c4ee72f615b","name":"@capacitor-geckoview/motion","dist-tags":{"latest":"8.6.0"},"versions":{"8.0.1":{"name":"@capacitor-geckoview/motion","version":"8.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Ionic","email":"hi@ionicframework.com"},"license":"MIT","_id":"@capacitor-geckoview/motion@8.0.1","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"4f500a91d63488be997331658af1ea685125b786","tarball":"https://registry.npmjs.org/@capacitor-geckoview/motion/-/motion-8.0.1.tgz","fileCount":17,"integrity":"sha512-RHeFxhEimzkZbeaQVKcHeOd+WynCZRh1UDE42ky3mqICoF8pU9psteKO6yVHD1eoN24YVDQ8+pKgW8GG1gq6aw==","signatures":[{"sig":"MEUCIQD3TRWQbzv+darlaV6KPRkrOt8z6NeMVVOWB+XwlGaNuQIgbboMfDEMGZjoGfajTNOTZJnAbi129qaclYrZ+zcp8y0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31469},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"4225aeb43b7250f2a81f07a7adee97b4b4b38bf5","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MotionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","verify:ios":"true","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"true"},"_npmUser":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{},"repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.12.1","description":"The Motion API tracks accelerometer and device orientation (compass heading, etc.)","directories":{},"_nodeVersion":"24.15.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"^8.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/motion_8.0.1_1788514744947_0.7389191040493883","host":"s3://npm-registry-packages-npm-production"}},"8.5.5":{"name":"@capacitor-geckoview/motion","version":"8.5.5","keywords":["capacitor","plugin","native"],"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","_id":"@capacitor-geckoview/motion@8.5.5","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"f143f9020cccfea1fec557811e8669b6c87bdd8e","tarball":"https://registry.npmjs.org/@capacitor-geckoview/motion/-/motion-8.5.5.tgz","fileCount":17,"integrity":"sha512-T1xWZWWb3r6UdhakB9Xdh7/CdvTWXSyDYg5+HZ3p2g5x4lGeyXNmmE5nEPr+zxu8rvPvhJhakUvfRVLs3NjKew==","signatures":[{"sig":"MEQCIEnlYRlHLGEL8KYRDnuiab9z5Y1jk4e57aUraUA8Ixi/AiBONGy+JdC9h5N7vOcObP6NPIOPZleXF2I9IeyAQlwRjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fmotion@8.5.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31509},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"44a37174c9f879dc86995227caf8a98724b73f41","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MotionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","verify:ios":"true","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"true"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e2c7a633-c8be-494c-9f8d-71d3f9a96179"}},"prettier":"@ionic/prettier-config","capacitor":{},"repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"The Motion API tracks accelerometer and device orientation (compass heading, etc.)","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/motion_8.5.5_1788530941312_0.9756370341715181","host":"s3://npm-registry-packages-npm-production"}},"8.5.6":{"name":"@capacitor-geckoview/motion","version":"8.5.6","keywords":["capacitor","plugin","native"],"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","_id":"@capacitor-geckoview/motion@8.5.6","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"94436a94d1c4935999aeb46c944934d8e6129cef","tarball":"https://registry.npmjs.org/@capacitor-geckoview/motion/-/motion-8.5.6.tgz","fileCount":17,"integrity":"sha512-nbljf1qjTsmNl7fRCWArXzXPOgnMYYaRJs7e34MJhQh5uXVAYKRMVw9dF+ldsbse07y6eOQZbg1rtlZYfTb1Nw==","signatures":[{"sig":"MEQCIHr7ScVZg5zTNITpAnEqUMO3UQUWqU1YQRIGQCPsdWB/AiBZAylcEJzwQqtpt76omDN5COJ3eDPlWYVdxILx9mBMSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fmotion@8.5.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31509},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"7b5d783b4736fa7ece909ce8d6f8360ba60b6868","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MotionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","verify:ios":"true","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"true"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e2c7a633-c8be-494c-9f8d-71d3f9a96179"}},"prettier":"@ionic/prettier-config","capacitor":{},"repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"The Motion API tracks accelerometer and device orientation (compass heading, etc.)","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/motion_8.5.6_1788531333620_0.2369159217717005","host":"s3://npm-registry-packages-npm-production"}},"8.5.7":{"name":"@capacitor-geckoview/motion","version":"8.5.7","keywords":["capacitor","plugin","native"],"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","_id":"@capacitor-geckoview/motion@8.5.7","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"db87802b2ae5f4c22cd28b4341a65d954c937139","tarball":"https://registry.npmjs.org/@capacitor-geckoview/motion/-/motion-8.5.7.tgz","fileCount":17,"integrity":"sha512-Lim0nwoiTkNUdRAEegSinu7sOF4z45e4MAR49nttPQ54py8QWVZy7/8BXcHIHo7iGBEQpOEqt7HRp8LF28G4Ww==","signatures":[{"sig":"MEYCIQDWjsecCd+G/VggFthIoRlr0RbwBUJNB8pXBojRjBwHsgIhANOcMTYqt2asw/d7xVJsL7YrzJpoDGP94LTmbjJl+6N2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fmotion@8.5.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31509},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"8b5461b659b8d1788d8b7058a1dc6743c53c769c","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MotionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","verify:ios":"true","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"true"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e2c7a633-c8be-494c-9f8d-71d3f9a96179"}},"prettier":"@ionic/prettier-config","capacitor":{},"repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"The Motion API tracks accelerometer and device orientation (compass heading, etc.)","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/motion_8.5.7_1788531731068_0.13970037257138768","host":"s3://npm-registry-packages-npm-production"}},"8.6.0":{"name":"@capacitor-geckoview/motion","version":"8.6.0","description":"The Motion API tracks accelerometer and device orientation (compass heading, etc.)","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git"},"bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"true","verify:android":"true","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check","fmt":"npm run eslint -- --fix && npm run prettier -- --write","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","docgen":"docgen --api MotionPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@capacitor/ios":"^8.0.0","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","eslint":"^8.57.1","prettier":"^3.6.2","prettier-plugin-java":"^2.7.7","rimraf":"^6.1.0","rollup":"^4.53.2","typescript":"^5.9.3","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"prettier":"@ionic/prettier-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{},"publishConfig":{"access":"public"},"gitHead":"01d4ce279e0b0b0c55b1b392db3f9a1b4673052e","_id":"@capacitor-geckoview/motion@8.6.0","homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-ag+6iX9cR//zvsSV4zCPOaRnzeISpol9jLiGUiKRPLBtnmgNBaIBigp/tmtv+dTs4q/kdP1NYx8FcEnH4SPKSw==","shasum":"a1a059c94631b2ff02c0572ad573e1958e83b5dd","tarball":"https://registry.npmjs.org/@capacitor-geckoview/motion/-/motion-8.6.0.tgz","fileCount":17,"unpackedSize":31509,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fmotion@8.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDkwIEpGSzY3VsdBiQ0meM1KTx283SpiDMxTbgbyA+jWQIhANuibPN98TXTv1fjiH+I7ebn/DxbDblmGND31t98bfFX"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e2c7a633-c8be-494c-9f8d-71d3f9a96179"}},"directories":{},"maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_8.6.0_1788767283795_0.5692358739112269"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-04T09:39:04.784Z","modified":"2026-09-07T07:48:04.267Z","8.0.1":"2026-09-04T09:39:05.073Z","8.5.5":"2026-09-04T14:09:01.436Z","8.5.6":"2026-09-04T14:15:33.725Z","8.5.7":"2026-09-04T14:22:11.251Z","8.6.0":"2026-09-07T07:48:03.925Z"},"bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git"},"description":"The Motion API tracks accelerometer and device orientation (compass heading, etc.)","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"readme":"# @capacitor/motion\n\nThe Motion API tracks accelerometer and device orientation (compass heading, etc.)\n\n## Install\n\n```bash\nnpm install @capacitor/motion\nnpx cap sync\n```\n\n## Permissions\n\nThis plugin is currently implemented using Web APIs. On iOS devices,\npermission must be requested before accessing device motion or orientation\nevents. To request permission, prompt the user on any user-initiated action\n(such as a button click):\n\n```typescript\nimport { PluginListenerHandle } from '@capacitor/core';\nimport { Motion } from '@capacitor/motion';\n\n\nlet accelHandler: PluginListenerHandle;\nlet orientationHandler: PluginListenerHandle;\n\nmyAccelerationButton.addEventListener('click', async () => {\n  if (typeof DeviceMotionEvent.requestPermission === 'function') {\n    try {\n      const permission = await DeviceMotionEvent.requestPermission();\n      if (permission !== 'granted') return;\n    } catch (e) {\n      // Handle error\n      return;\n    }\n  }\n\n  // Once the user approves, can start listening:\n  accelHandler = await Motion.addListener('accel', event => {\n    console.log('Device motion event:', event);\n  });\n});\n\nmyOrientationButton.addEventListener('click', async () => {\n  if (typeof DeviceOrientationEvent.requestPermission === 'function') {\n    try {\n      const permission = await DeviceOrientationEvent.requestPermission();\n      if (permission !== 'granted') return;\n    } catch (e) {\n      // Handle error\n      return;\n    }\n  }\n\n  // Once the user approves, can start listening:\n  orientationHandler = await Motion.addListener('orientation', event => {\n    console.log('Device orientation event:', event);\n  });\n});\n\n// Stop the acceleration listener\nconst stopAcceleration = () => {\n  if (accelHandler) {\n    accelHandler.remove();\n  }\n};\n\n// Stop the orientation listener\nconst stopOrientation = () => {\n  if (orientationHandler) {\n    orientationHandler.remove();\n  }\n};\n\n// Remove all listeners\nconst removeListeners = () => {\n  Motion.removeAllListeners();\n};\n```\n\nSee the\n[`DeviceMotionEvent`](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent)\nand\n[`DeviceOrientationEvent`](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent)\nAPIs to understand the data supplied in the `'accel'` and `'orientation'`\nevents respectively.\n\n## API\n\n<docgen-index>\n\n* [`addListener('accel', ...)`](#addlisteneraccel-)\n* [`addListener('orientation', ...)`](#addlistenerorientation-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### addListener('accel', ...)\n\n```typescript\naddListener(eventName: 'accel', listenerFunc: AccelListener) => Promise<PluginListenerHandle>\n```\n\nAdd a listener for accelerometer data\n\n| Param              | Type                                                    |\n| ------------------ | ------------------------------------------------------- |\n| **`eventName`**    | <code>'accel'</code>                                    |\n| **`listenerFunc`** | <code><a href=\"#accellistener\">AccelListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('orientation', ...)\n\n```typescript\naddListener(eventName: 'orientation', listenerFunc: OrientationListener) => Promise<PluginListenerHandle>\n```\n\nAdd a listener for device orientation change (compass heading, etc.)\n\n| Param              | Type                                                                |\n| ------------------ | ------------------------------------------------------------------- |\n| **`eventName`**    | <code>'orientation'</code>                                          |\n| **`listenerFunc`** | <code><a href=\"#orientationlistener\">OrientationListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all the listeners that are attached to this plugin.\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AccelListenerEvent\n\n| Prop                               | Type                                                  | Description                                                                                                                                                             | Since |\n| ---------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`acceleration`**                 | <code><a href=\"#acceleration\">Acceleration</a></code> | An object giving the acceleration of the device on the three axis X, Y and Z. <a href=\"#acceleration\">Acceleration</a> is expressed in m/s                              | 1.0.0 |\n| **`accelerationIncludingGravity`** | <code><a href=\"#acceleration\">Acceleration</a></code> | An object giving the acceleration of the device on the three axis X, Y and Z with the effect of gravity. <a href=\"#acceleration\">Acceleration</a> is expressed in m/s   | 1.0.0 |\n| **`rotationRate`**                 | <code><a href=\"#rotationrate\">RotationRate</a></code> | An object giving the rate of change of the device's orientation on the three orientation axis alpha, beta and gamma. Rotation rate is expressed in degrees per seconds. | 1.0.0 |\n| **`interval`**                     | <code>number</code>                                   | A number representing the interval of time, in milliseconds, at which data is obtained from the device.                                                                 | 1.0.0 |\n\n\n#### Acceleration\n\n| Prop    | Type                | Description                                  | Since |\n| ------- | ------------------- | -------------------------------------------- | ----- |\n| **`x`** | <code>number</code> | The amount of acceleration along the X axis. | 1.0.0 |\n| **`y`** | <code>number</code> | The amount of acceleration along the Y axis. | 1.0.0 |\n| **`z`** | <code>number</code> | The amount of acceleration along the Z axis. | 1.0.0 |\n\n\n#### RotationRate\n\n| Prop        | Type                | Description                                                      | Since |\n| ----------- | ------------------- | ---------------------------------------------------------------- | ----- |\n| **`alpha`** | <code>number</code> | The amount of rotation around the Z axis, in degrees per second. | 1.0.0 |\n| **`beta`**  | <code>number</code> | The amount of rotation around the X axis, in degrees per second. | 1.0.0 |\n| **`gamma`** | <code>number</code> | The amount of rotation around the Y axis, in degrees per second. | 1.0.0 |\n\n\n### Type Aliases\n\n\n#### AccelListener\n\n<code>(event: <a href=\"#accellistenerevent\">AccelListenerEvent</a>): void</code>\n\n\n#### OrientationListener\n\n<code>(event: <a href=\"#rotationrate\">RotationRate</a>): void</code>\n\n\n#### OrientationListenerEvent\n\n<code><a href=\"#rotationrate\">RotationRate</a></code>\n\n</docgen-api>\n","readmeFilename":"README.md"}