https://github.com/aeharding/capacitor-android-nav-mode
https://github.com/aeharding/capacitor-android-nav-mode
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aeharding/capacitor-android-nav-mode
- Owner: aeharding
- Created: 2023-08-13T18:07:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T01:44:31.000Z (over 1 year ago)
- Last Synced: 2025-01-26T02:43:30.721Z (over 1 year ago)
- Language: Java
- Size: 249 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# capacitor-android-nav-mode
Returns the Android navigation mode of the device
## Install
```bash
npm install capacitor-android-nav-mode
npx cap sync
```
## API
* [`getNavigationMode()`](#getnavigationmode)
* [Enums](#enums)
### getNavigationMode()
```typescript
getNavigationMode() => Promise<{ mode: NavModes; }>
```
**Returns:** Promise<{ mode: NavModes; }>
--------------------
### Enums
#### NavModes
| Members | Value |
| ----------------- | -------------- |
| **`ThreeButton`** | 0 |
| **`TwoButton`** | 1 |
| **`Gesture`** | 2 |