Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@webex/internal-plugin-device
Advanced tools
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.
npm install --save @webex/internal-plugin-device
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;
This package is maintained by Cisco Webex for Developers.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
FAQs
Unknown package
The npm package @webex/internal-plugin-device receives a total of 4,255 weekly downloads. As such, @webex/internal-plugin-device popularity was classified as popular.
We found that @webex/internal-plugin-device demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.