Ir para o conteúdo principal
CloudStudio

Device UI rules

The device UI rules object represents the user interface rules applied to a device, typically used in device model configuration scripts.

The updateDeviceUIRules function receives an object of this type as a parameter, which allows establishing the user interface rules for the device given as a parameter in the script.

Properties

canCreateEndpoints (boolean) The canCreateEndpoints property indicates whether it is possible to create endpoints on the device given as a parameter. The value true indicates that creating endpoints is allowed, while the value false prevents the creation of new endpoints.

Examples

This example prevents creating new endpoints on a device.

function updateDeviceUIRules(device, rules)
{
	rules.canCreateEndpoints = false;
}

Última atualização em

Nesta página