The ResetResource Class

Last modified: Jul 5, 2019 @ 06:45

The class com.ericsson.appiot.gateway.device.smartobject.resource.type.ResetResource is used to reset resources.

Note that there is no Reset data type for resources. The ResetResource class is used for resources that are executable and provide a reset functionality.

By default, this class resets the following data types to the values indicated below:

  • FloatResource = 0
  • IntegerResource = 0
  • OpaqueResource = empty byte array
  • StringResource = “”
  • TimeResource = 0
  • BooleanResource = false
  • ObjectLink = “”

To change the reset value for a data type, call setResetValueX() .