capacitor-signal-strength
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

capacitor-signal-strength

Plugin use to get Android device signal strength

Install

npm install capacitor-signal-strength
npx cap sync

API

getdBm()

getdBm() => Promise<DBm>

Returns: Promise<DBm>


getPercentage(...)

getPercentage(options: { connection: ConnectionType; }) => Promise<Percentage>
Param Type
options { connection: ConnectionType; }

Returns: Promise<Percentage>


getLevel()

getLevel() => Promise<Level>

Returns: Promise<Level>


checkPermissions()

checkPermissions() => Promise<PermissionStatus>

Returns: Promise<PermissionStatus>


requestPermissions()

requestPermissions() => Promise<PermissionStatus>

Returns: Promise<PermissionStatus>


Interfaces

DBm

Prop Type
dBm number

Percentage

Prop Type
percentage string

Level

Prop Type
level number

PermissionStatus

Prop Type
info PermissionState

Type Aliases

ConnectionType

The type of network connection that a device might have.

'wifi' | 'cellular' | 'none' | 'unknown'

PermissionState

'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'

Readme

Keywords

Package Sidebar

Install

npm i capacitor-signal-strength

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

37.9 kB

Total Files

27

Last publish

Collaborators

  • gianpierrevelasquez28