Device.setScope(String scope) 方法

定义

Sets the scope of the device.

For edge devices, this is auto-generated and immutable.

For leaf devices, set this to create child/parent relationship. The value to set a parent edge device can be retrieved from calling the parent edge device's getScope() method.

For more information, see this document.

public void setScope(String scope)

参数

scope
String

The device scope to set.

适用于