codebakery-plugin-cellinfo
This plugin defines window.CellInfo
object, which adds methods for getting
primary and neighboring cell information as well as network type.
CellInfoData object
{
'cid': Number,
'lac': Number,
'psc': Number,
'networkType': String,
'generalNetworkType': String,
'rssi': Number
}
Methods
window.CellInfo.getNeighboringCellInfo()
- returns list of CellInfoData objectswindow.CellInfo.getPrimaryCellInfo()
- returns CellInfoData object
Properties
window.CellInfo.isAvailable
- true if current platform is supported, false otherwise
Supported Platforms
Android Installation
API level 7+ supported.
Requires ACCESS_COARSE_LOCATION
permission.