Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webex/internal-plugin-device

Package Overview
Dependencies
Maintainers
0
Versions
1069
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webex/internal-plugin-device

  • 3.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.1K
decreased by-26.15%
Maintainers
0
Weekly downloads
 
Created
Source

@webex/internal-plugin-device

standard-readme compliant

Plugin for device management

This is an internal Cisco Webex plugin. As such, it does not strictly adhere to semantic versioning. Use at your own risk. If you're not working on one of our first party clients, please look at our developer api and stick to our public plugins.

Install

npm install --save @webex/internal-plugin-device

Usage

import '@webex/internal-plugin-device';

import WebexCore from '@webex/webex-core';

const webex = new WebexCore();

// Namespace.
webex.internal.device;

// Register the device.
webex.internal.device
  .register()
  .then(() => {}) // On successful registration.
  .catch(() => {}); // On failed registration.

// Refresh the device.
webex.internal.device
  .refresh()
  .then(() => {}) // On successful refresh.
  .catch(() => {}); // On failed refresh.

// Unregister the device.
webex.internal.device
  .unregister()
  .then(() => {}) // On successful unregistration.
  .catch(() => {}); // On failed unregistration.

// Get the current web socket url. Accepts a boolean to enable waiting for the
// url to populate.
webex.internal.device
  .getWebSocketUrl(true)
  .then((url) => {}) // Resolves to the url when it is retrievable.
  .catch(() => {}); // Rejects when the url is not available.

// Commonly referenced properties.

// The device's url once registered.
webex.internal.device.url;

// The registered device's user uuid.
webex.internal.device.userId;

// Determines if the device is registered.
webex.internal.device.registered;

Maintainers

This package is maintained by Cisco Webex for Developers.

Contribute

Pull requests welcome. Please see CONTRIBUTING.md for more details.

License

© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.

FAQs

Package last updated on 03 Dec 2024

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