{"_id":"@cooldroid/capacitor-screen-orientation","_rev":"4-ec3f01d40b494b17ec5b634f6d25d81a","name":"@cooldroid/capacitor-screen-orientation","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.3":{"name":"@cooldroid/capacitor-screen-orientation","version":"1.0.3","description":"Capacitor plugin to lock/unlock the screen orientation.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-screen-orientation.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-screen-orientation/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api ScreenOrientationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"43051a28a129dd13f6dfde261ffdfd597643cda1","homepage":"https://github.com/robingenz/capacitor-screen-orientation#readme","_id":"@cooldroid/capacitor-screen-orientation@1.0.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-BExtgQVMhC58dOXQ+Cf8iC4hPI+1IIBIdRSiBDC7vTHs/rLLKAY1e9NxZeHlVSGFYZz7S0SfWNwukhPPiI9eoQ==","shasum":"b224d663fe42a6e12f316d8b04af40ff74cf276e","tarball":"https://registry.npmjs.org/@cooldroid/capacitor-screen-orientation/-/capacitor-screen-orientation-1.0.3.tgz","fileCount":30,"unpackedSize":58063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCQWRCRA9TVsSAnZWagAAqdIQAIvdNR8wAYL2PdJutecz\nMHLOkbaFtYeIoH3kUeflE37uRao8OVtjyUl+GqmK+xPirURV75193xTyGog0\nULLHAvoEjkksPcZ6d9OOafBVdJd5fmq30X7OIQ1Ql+SlJRu4m7FPSlmwqqlP\n/ifwQ2tP+Pt3IdUTp+prWM2Z8nPqXRaBPfnEr/blfuLr0mDrfF/E6KWN+pb8\n3NoEfPYP9BIcBRHDkidOkVzZCnYTZ8tB5Gr5vke7yO6hgRRlYtgIbpAEVm6R\nCjYZJQJE6sCv19J0Djd7o4bvqsRgjtprOXxYI4NHXL0iAgFjY/TU9L3pWdS1\nzPAMh4ceupjcGkzgkoaQF3J6ov33s+I6cKZhBI4GGLWIuCvpxq7J8md2ZSqm\nQ7z6RmlxtydhhTKQQa7pCDb9TGuTahWqhgfSnQP88ZYStvCHwJSGdX3gpBfY\n7laXj3fBKXx86dsNcOHtQ6VihLKeardE+s+X9wO18wPVA9cmAKSzUqbGzZil\n947K5Djr6YqeY0i5whHTbVb7D8JYNkQq6nu/loh4TPupholq9QslD55etukP\nGWleA302ypvOJgQRayIXYmEPEwzXMUzXc2qfgMePik583OqojnzAijMwt1k2\n4TbOhfZa+0CQ11qrg8CmbPCOjM408+z/YXuJML8h53TebGzDXUxJAaUdO9LH\nymFo\r\n=x3bF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGidFQi3T4/+slM0lNgTDyPuLlncn4K+Q1okO9TJ9j4nAiEAkyqkSqRgqm9fvi2hzTQyqWCJFThtHbGTAIaFSVqBFps="}]},"_npmUser":{"name":"amitbagaria","email":"amit.bagaria@gmail.com"},"directories":{},"maintainers":[{"name":"amitbagaria","email":"amit.bagaria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-screen-orientation_1.0.3_1627981201363_0.14473385635787483"},"_hasShrinkwrap":false},"1.0.4":{"name":"@cooldroid/capacitor-screen-orientation","version":"1.0.4","description":"Capacitor plugin to lock/unlock the screen orientation.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-screen-orientation.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-screen-orientation/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api ScreenOrientationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"43051a28a129dd13f6dfde261ffdfd597643cda1","homepage":"https://github.com/robingenz/capacitor-screen-orientation#readme","_id":"@cooldroid/capacitor-screen-orientation@1.0.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-UO9PPRPv2rZudIwNvEyjuve7nbMnmcWfPttNXpCmG+R/lkKmDnrMzgCxKlmoFe+iswk9J2rcSh8sHhKoIBbBTg==","shasum":"9db746c3d42c165b7a0093cf4442ac6a14c943d3","tarball":"https://registry.npmjs.org/@cooldroid/capacitor-screen-orientation/-/capacitor-screen-orientation-1.0.4.tgz","fileCount":30,"unpackedSize":58512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCUpICRA9TVsSAnZWagAAuFsP/0NwrykfQ6RQmt7CmDgK\nACQDtyX+pg+bHUdc2H2/CR+8q254rKIKW91BAiD4uyyILR1PAvmUW7r7gTfV\nYGHwd78JI1wvVu3UeovZ7Oqq81KGVoMVIfT9nslkHwIBOruYjUoO1a634Jke\njjUy9L9aHS3k1RtRFKeUnCccFeX0VhcZ/zGFGCkHH/r5bNlV2RTrkxbFzd2L\nM6AlW8AGjy+IMd9L9SEskj387k8gBfJyE4JSZipARSRXCRv7qSIIqSJw+Fsd\n6F3oX1HiDAjINrZbaGhGH3xFKlnQZLKGUjhxXEf5iIebaVs+3KIkk97RQem/\nskbWtEh7JUGSIUaWWoTAakZguVU2dlZZ7lxsF4rob09mTqZ2i2V1qisvclLR\n9HKmvgXSqIRQUi67LhaS8rLpZbP5XQdo0MUxgW2iUQ0jAC9FQDKDs+nq+leU\nRHq1nEgUITbf/2OCZAbzaR493fIAy8GC7xybEBHwnW2LPjmbKtWv5TTiujWY\nppkaQRzKdG6/Tq048+c4VMbh6pyFOwN1x/QDJx4evxEIptAVL3qps37mXEdQ\n/KKUW2LSiDe+Ava4HJxpXtWOxAzq899qJbZQewleK6K9fYJ2PS4IxPa3Nzzv\noRRjDjznoULXnxGXkisvb4ostnUQte/YMtvIS+NS7WzC4q9+lyIldHKlv7pE\nG1dm\r\n=xUER\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9t6Y9+W7eeyedAGS37GiaIszvM7NwIpmMTXRZHF/CggIhAPsWX0PxkAmKFLSWKema73VNBRchupelyGV39BHyzu+z"}]},"_npmUser":{"name":"amitbagaria","email":"amit.bagaria@gmail.com"},"directories":{},"maintainers":[{"name":"amitbagaria","email":"amit.bagaria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-screen-orientation_1.0.4_1627998792096_0.5759364477983591"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cooldroid/capacitor-screen-orientation","version":"1.1.0","description":"Capacitor plugin to lock/unlock the screen orientation.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-screen-orientation.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-screen-orientation/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api ScreenOrientationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"a5d08ea371ca14523a56949d7cf3fcdc4d3829e7","homepage":"https://github.com/robingenz/capacitor-screen-orientation#readme","_id":"@cooldroid/capacitor-screen-orientation@1.1.0","_nodeVersion":"14.17.4","_npmVersion":"7.20.6","dist":{"integrity":"sha512-R776FCZdWT2mPplHjqK2TEPdAyCvmLp991q3l0tmhBx0D4kY3VDKMJEyGUrS7aN7DfdUDHAQD2nPEFI7XiBQ3A==","shasum":"750fc2504cba9379432df6f65bcd48d1a98ca68d","tarball":"https://registry.npmjs.org/@cooldroid/capacitor-screen-orientation/-/capacitor-screen-orientation-1.1.0.tgz","fileCount":29,"unpackedSize":57971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzd0QCRA9TVsSAnZWagAAr2QP/jEUfcGxiSIhJtNXQjUP\nLygHX9pQ5fng7eaD5TBmEeFA/CpuurLGZ5qqU3JKGWDz/+Tc84svulgP1hsL\nIKTNjYzvAJLJiAsnaj/XuJNKnD8CDJCypFFpBSd8Zypd1Xjlp8oU8e071QEZ\neGXZLS5iwfNgt6wXullRcSQ/YaXCUbhzZFX5MjlTfRF3Hbdx5ukRyukNpd/N\nSFK8IMgBTHm2Y3AmKBcCjjvFJdVlXqKnvwpeKqpQdDk4hxaZN6Zq1vlzN9PF\nHjV2OgsqVeV0le/KahMMqKK8xaRZrBF/le6WEk40WUNXZEK75ZcTk9Laf1Xo\n9oeF0Nu7cbBiRL2+jXEapzk/7vgtTbRQi5h8Cwg/C1Ud2G4rBkkppamDw7J1\njwP/5CXAJQunfujdPJHss09YK8Te1dVNvD7Z5XtpfmmJOcu8Ha3TAGLrK/j5\nXcb5gpXsWOKJFItt6dQjFYYCHgP7VyU58ajbBwLMgL1fJAhswPNwHNqopSUz\nf38T7EgBpSyv6UvRtGbXqvm3lRGi/BoKoE55qZwPIZpsfdkEzmuMJUorG1tK\n/NPMYCGYD4FnrPg4+kkqOB2CeWwN29Xg0N9IIvnhAZi5U3Cs2EDnh/Qbyd0/\nWj7BUKrWicVATtJ3/mqIKY2JdGlcMakU48yHw7tHUQ9Apt2grb5g0TA5aP8s\nfWvx\r\n=0f6p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8EFUt+Jnu7NrkS44iHFwW1YIvF7BtNU7z+jLISOGMIAiEAyhFEXKMAatyB5z68rQvtcFHGUlnxjiW8AqzdlJMaTqI="}]},"_npmUser":{"name":"amitbagaria","email":"amit.bagaria@gmail.com"},"directories":{},"maintainers":[{"name":"amitbagaria","email":"amit.bagaria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-screen-orientation_1.1.0_1632303987374_0.9513078507899795"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-03T09:00:01.302Z","1.0.3":"2021-08-03T09:00:01.915Z","modified":"2022-04-05T01:15:55.697Z","1.0.4":"2021-08-03T13:53:12.232Z","1.1.0":"2021-09-22T09:46:27.510Z"},"maintainers":[{"name":"amitbagaria","email":"amit.bagaria@gmail.com"}],"description":"Capacitor plugin to lock/unlock the screen orientation.","homepage":"https://github.com/robingenz/capacitor-screen-orientation#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-screen-orientation.git"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"bugs":{"url":"https://github.com/robingenz/capacitor-screen-orientation/issues"},"license":"MIT","readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Screen Orientation</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-screen-orientation</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin to lock/unlock the screen orientation. \n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-screen-orientation/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-screen-orientation/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-screen-orientation\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-screen-orientation?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-screen-orientation\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-screen-orientation?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-screen-orientation\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-screen-orientation?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```bash\nnpm install @robingenz/capacitor-screen-orientation\nnpx cap sync\n```\n\n### iOS\n\nOn iOS you must add the following to your app's `AppDelegate.swift`:\n\n```diff\n+ import RobingenzCapacitorScreenOrientation\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n+ func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {\n+   return ScreenOrientation.getSupportedInterfaceOrientations()\n+ }\n```\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Demo\n\nA working example can be found here: [robingenz/capacitor-plugin-demo](https://github.com/robingenz/capacitor-plugin-demo)\n\n## Usage\n\n```typescript\nimport { ScreenOrientation, OrientationType } from '@robingenz/capacitor-screen-orientation';\n\nconst lock = async () => {\n  await ScreenOrientation.lock({ type: OrientationType.LANDSCAPE });\n};\n\nconst unlock = async () => {\n  await ScreenOrientation.unlock();\n};\n\nconst getCurrentOrientation = async () => {\n  const result = await ScreenOrientation.getCurrentOrientation();\n  return result.type;\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`lock(...)`](#lock)\n* [`unlock()`](#unlock)\n* [`getCurrentOrientation()`](#getcurrentorientation)\n* [`addListener('screenOrientationChange', ...)`](#addlistenerscreenorientationchange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n* [Enums](#enums)\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### lock(...)\n\n```typescript\nlock(options: LockOptions) => Promise<void>\n```\n\nLocks the device orientation.\n\n| Param         | Type                                                |\n| ------------- | --------------------------------------------------- |\n| **`options`** | <code><a href=\"#lockoptions\">LockOptions</a></code> |\n\n--------------------\n\n\n### unlock()\n\n```typescript\nunlock() => Promise<void>\n```\n\nUnlocks the device orientation.\n\n--------------------\n\n\n### getCurrentOrientation()\n\n```typescript\ngetCurrentOrientation() => Promise<GetCurrentOrientationResult>\n```\n\nGets the current device orientation type.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentorientationresult\">GetCurrentOrientationResult</a>&gt;</code>\n\n--------------------\n\n\n### addListener('screenOrientationChange', ...)\n\n```typescript\naddListener(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for screen orientation changes.\n\n| Param              | Type                                                                                        |\n| ------------------ | ------------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'screenOrientationChange'</code>                                                      |\n| **`listenerFunc`** | <code><a href=\"#screenorientationchangelistener\">ScreenOrientationChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### LockOptions\n\n| Prop       | Type                                                        | Description                |\n| ---------- | ----------------------------------------------------------- | -------------------------- |\n| **`type`** | <code><a href=\"#orientationtype\">OrientationType</a></code> | The orientation lock type. |\n\n\n#### GetCurrentOrientationResult\n\n| Prop       | Type                                                        | Description                   |\n| ---------- | ----------------------------------------------------------- | ----------------------------- |\n| **`type`** | <code><a href=\"#orientationtype\">OrientationType</a></code> | The current orientation type. |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### ScreenOrientationChange\n\n| Prop       | Type                                                        | Description                   |\n| ---------- | ----------------------------------------------------------- | ----------------------------- |\n| **`type`** | <code><a href=\"#orientationtype\">OrientationType</a></code> | The current orientation type. |\n\n\n### Type Aliases\n\n\n#### ScreenOrientationChangeListener\n\nCallback to receive the screen orientation change notifications.\n\n<code>(change: <a href=\"#screenorientationchange\">ScreenOrientationChange</a>): void</code>\n\n\n### Enums\n\n\n#### OrientationType\n\n| Members                   | Value                              | Description                                                         |\n| ------------------------- | ---------------------------------- | ------------------------------------------------------------------- |\n| **`LANDSCAPE`**           | <code>'landscape'</code>           | The orientation is either landscape-primary or landscape-secondary. |\n| **`LANDSCAPE_PRIMARY`**   | <code>'landscape-primary'</code>   | The orientation is in the primary landscape mode.                   |\n| **`LANDSCAPE_SECONDARY`** | <code>'landscape-secondary'</code> | The orientation is in the secondary landscape mode.                 |\n| **`PORTRAIT`**            | <code>'portrait'</code>            | The orientation is either portrait-primary or portrait-secondary.   |\n| **`PORTRAIT_PRIMARY`**    | <code>'portrait-primary'</code>    | The orientation is in the primary portrait mode.                    |\n| **`PORTRAIT_SECONDARY`**  | <code>'portrait-secondary'</code>  | The orientation is in the secondary portrait mode.                  |\n\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/robingenz/capacitor-screen-orientation/blob/master/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/robingenz/capacitor-screen-orientation/blob/master/LICENSE).\n","readmeFilename":"README.md"}