mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
modify for adding ethernet lan js interface
Signed-off-by: liuxiyao223 <liuxiyao223@huawei.com>
This commit is contained in:
parent
b886cb4935
commit
337710ef72
18
api/@ohos.net.ethernet.d.ts
vendored
18
api/@ohos.net.ethernet.d.ts
vendored
@ -305,7 +305,23 @@ declare namespace ethernet {
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 9
|
||||
*/
|
||||
DHCP = 1
|
||||
DHCP = 1,
|
||||
|
||||
/**
|
||||
* LAN Static configuration.
|
||||
* @syscap SystemCapability.Communication.NetManager.Ethernet
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 9
|
||||
*/
|
||||
LAN_STATIC = 2,
|
||||
|
||||
/**
|
||||
* LAN Dynamic configuration.
|
||||
* @syscap SystemCapability.Communication.NetManager.Ethernet
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 3
|
||||
*/
|
||||
LAN_DHCP = 3
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user