Socket
Socket
Sign inDemoInstall

codebakery-plugin-cellinfo

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    codebakery-plugin-cellinfo

CodeBakery Cell Info Plugin


Version published
Maintainers
1
Install size
25.3 kB
Created

Readme

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 scrambling 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

Properties

  • window.CellInfo.isAvailable - true if current platform is supported, false otherwise

Supported Platforms

  • Android

Android Installation

API level 7+ supported.

Requires ACCESS_COARSE_LOCATION permission.

Keywords

FAQs

Last updated on 11 Feb 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc