NetworkPlugin.getStatus()
August 11, 2023
- Plugin
Get the network status;
NetworkPlugin.getStatus()
Parameters
- None
Return
Returns a Promise that resolves with a ConnectionStatus object.
Example
import { networkPlugin } from "@plaoc/plugin";
const status = networkPlugin.getStatus();
Platform Support
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
getStatus | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.13.0