Helper class used to modify the ExclusiveActivityHostContent of an ExclusiveActivityHost.
More...
#include <kanzi/ui/node/concept/activity/exclusive_activity_host_content_handler.hpp>
Helper class used to modify the ExclusiveActivityHostContent of an ExclusiveActivityHost.
- Since
- Kanzi 3.9.0
◆ addActivity()
Adds an Activity node to the given ExclusiveActivityHost by modifying its ExclusiveActivityHostContentProperty.
- Parameters
-
hostNode | The ExclusiveActivityHost node whose ExclusiveActivityHostContentProperty this function modifies. |
name | The name of the Activity node that this function adds as a child node of the given ExclusiveActivityHost node. |
controllerPropertyValue | The value of the ControllerProperty that activates the Activity node. |
prefabPath | The path to the prefab of the Activity node. |
- Returns
- The structure that describes the ExclusiveActivityHostContent after modification.
◆ removeActivity()
Removes an Activity node from the given ExclusiveActivityHost by modifying its ExclusiveActivityHostContentProperty.
- Parameters
-
hostNode | The ExclusiveActivityHost node whose ExclusiveActivityHostContentProperty this function modifies. |
name | The name of the Activity node that this function removes from the given ExclusiveActivityHost node. |
- Returns
- The structure that describes the ExclusiveActivityHostContent after modification.
◆ read()
Converts an Exclusive Activity Host Content from a string to an ExclusiveActivityHostContent object.
- Parameters
-
value | Content description as a string. |
- Returns
- The Exclusive Activity Host Content as an ExclusiveActivityHostContent object.
◆ write()
Converts an Exclusive Activity Host Content from an ExclusiveActivityHostContent object to a string.
- Parameters
-
content | Structure that describes the Activity nodes. |
- Returns
- The Exclusive Activity Host Content as a string.
The documentation for this struct was generated from the following file: