提交 bfe5f46d 编写于 作者: 杜庆泉's avatar 杜庆泉

wifi 接口声明调整

上级 c7c343d7
...@@ -69,7 +69,7 @@ export type StopWifi = (option : WifiOption) => void ...@@ -69,7 +69,7 @@ export type StopWifi = (option : WifiOption) => void
export type GetWifiList = (option : WifiOption) => void export type GetWifiList = (option : WifiOption) => void
export type OnGetWifiList = (callback : UniWifiCallback) => void export type OnGetWifiList = (callback : UniGetWifiListCallback) => void
export type OffGetWifiList = (callback : UniWifiCallback) => void export type OffGetWifiList = (callback : UniWifiCallback) => void
...@@ -77,9 +77,9 @@ export type GetConnectedWifi = (option : GetConnectedWifiOptions) => void ...@@ -77,9 +77,9 @@ export type GetConnectedWifi = (option : GetConnectedWifiOptions) => void
export type ConnectWifi = (option : WifiConnectOption) => void export type ConnectWifi = (option : WifiConnectOption) => void
export type OnWifiConnected = (callback : UniWifiCallback) => void export type OnWifiConnected = (callback : UniWifiResultCallback) => void
export type OnWifiConnectedWithPartialInfo = (callback : UniWifiCallback) => void export type OnWifiConnectedWithPartialInfo = (callback : UniWifiResultCallbackWithPartialInfo) => void
export type OffWifiConnected = (callback : UniWifiCallback | null) => void export type OffWifiConnected = (callback : UniWifiCallback | null) => void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册