An open API service indexing awesome lists of open source software.

https://github.com/aeharding/capacitor-android-nav-mode


https://github.com/aeharding/capacitor-android-nav-mode

Last synced: over 1 year ago
JSON representation

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 |