Hotspot

Contents

A Cordova plugin for managing Hotspot networks on Android.

Requires Cordova plugin: cordova-plugin-hotspot. For more info, please see the Hotspot plugin docs.

https://github.com/hypery2k/cordova-hotspot-plugin

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 热点网络Hotspot插件的安装(Installation)

ionic cordova plugin add cordova-plugin-hotspot npm install @ionic-native/hotspot
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/hotspot

Ionic 热点网络Hotspot插件支持的平台(Supported Platforms)

  • Android

Ionic 热点网络Hotspot插件的用法(Usage)

import { Hotspot, HotspotNetwork } from '@ionic-native/hotspot/ngx';

constructor(private hotspot: Hotspot) { }

...


this.hotspot.scanWifi().then((networks: HotspotNetwork[]) => {
    console.log(networks);
});