Plugin use to get Android device signal strength
npm install capacitor-signal-strength
npx cap sync
getdBm()
getPercentage(...)
getLevel()
checkPermissions()
requestPermissions()
- Interfaces
- Type Aliases
getdBm() => Promise<DBm>
Returns: Promise<DBm>
getPercentage(options: { connection: ConnectionType; }) => Promise<Percentage>
Param | Type |
---|---|
options |
{ connection: ConnectionType; } |
Returns: Promise<Percentage>
getLevel() => Promise<Level>
Returns: Promise<Level>
checkPermissions() => Promise<PermissionStatus>
Returns: Promise<PermissionStatus>
requestPermissions() => Promise<PermissionStatus>
Returns: Promise<PermissionStatus>
Prop | Type |
---|---|
dBm |
number |
Prop | Type |
---|---|
percentage |
string |
Prop | Type |
---|---|
level |
number |
Prop | Type |
---|---|
info |
PermissionState |
The type of network connection that a device might have.
'wifi' | 'cellular' | 'none' | 'unknown'
'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'