Socket
Socket
Sign inDemoInstall

codebakery-plugin-cellinfo

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codebakery-plugin-cellinfo

CodeBakery Cell Info Plugin


Version published
Weekly downloads
14
increased by1300%
Maintainers
1
Weekly downloads
 
Created
Source

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,                 // cell ID in GSM
    'lac': Number,                 // LAC in GSM
    'psc': Number,                 // primary scrabling code for UMTS, -1 for GSM
    'networkType': String,         // network type string, e.g. 'GSM' or 'UMTS'
    'generalNetworkType': String,  // general network type: '2G', '3G, '4G', 'CDMA' or 'Unknown'
    'rssi': Number                 // received signal strength in dBm
}

Methods

  • window.CellInfo.getNeighboringCellInfo - returns list of CellInfoData objects
  • window.CellInfo.getPrimaryCellInfo - returns CellInfoData object

Supported Platforms

  • Android

Android Installation

API level 7+ supported.

Requires ACCESS_COARSE_LOCATION permission.

Keywords

FAQs

Package last updated on 18 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc