diff --git a/api/@ohos.wifiManager.d.ts b/api/@ohos.wifiManager.d.ts index 55fed4246caf57224584d5c36db33cff169cda31..720b9c81e25a6095a734d6e5b88e644bb85c366c 100644 --- a/api/@ohos.wifiManager.d.ts +++ b/api/@ohos.wifiManager.d.ts @@ -4618,6 +4618,20 @@ declare namespace wifiManager { */ GO_BAND_5GHZ = 2 } + /** + * Start Wi-Fi network detection + * @permission ohos.permission.SET_WIFI_INFO and ohos.permission.MANAGE_WIFI_CONNECTION + * @throws {BusinessError} 201 - Permission denied. + * @throws {BusinessError} 202 - System API is not allowed called by Non-system application. + * @throws {BusinessError} 801 - Capability not supported. + * @throws {BusinessError} 25010000 - Operation failed. + * @throws {BusinessError} 25010001 - Wi-Fi STA disabled. + * @syscap SystemCapability.Communication.Wifi.STA + * @systemapi Hide this for inner system use. + * @since 20 + * @arkts 1.1&1.2 + */ + function startWifiDetection(): void; } export default wifiManager;