title: Taro.offWifiConnected(callback)

sidebar_label: offWifiConnected

Un-listens on the event of connecting to the Wi-Fi network.

Reference

Type

  1. (callback: (...args: any[]) => any) => void

Parameters

Property Type Description
callback (…args: any[]) => any The callback function for event of connecting to the Wi-Fi network.

API Support

API WeChat Mini-Program H5 React Native
Taro.offWifiConnected ✔️