mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
Update Code
Signed-off-by: Yangys <yangyousheng@huawei.com>
This commit is contained in:
parent
f99605c4c9
commit
462ef2ec71
2
api/@ohos.net.ethernet.d.ts
vendored
2
api/@ohos.net.ethernet.d.ts
vendored
@ -101,7 +101,7 @@ declare namespace ethernet {
|
|||||||
function on(type: 'interfaceStateChange', callback: Callback<{ iface: string, active: boolean }>): void;
|
function on(type: 'interfaceStateChange', callback: Callback<{ iface: string, active: boolean }>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unregister a callback from the ethernet interface avtive state change.
|
* Unregister a callback from the ethernet interface active state change.
|
||||||
*
|
*
|
||||||
* @param type interfaceStateChange.
|
* @param type interfaceStateChange.
|
||||||
* @param callback including iface Indicates the ethernet interface, and active Indicates whether the interface is active.
|
* @param callback including iface Indicates the ethernet interface, and active Indicates whether the interface is active.
|
||||||
|
Loading…
Reference in New Issue
Block a user