Harmony
Script Node Documentation
PersistentItem Class Reference

Public Slots

bool isNull () const
 Query nullness of current item. This state is true whenever the queried item could not be find in the SM_PersistentData. More...
 
double numberValue () const
 Fetch Number value of current item. More...
 
bool boolValue () const
 Fetch Boolean value of current item. More...
 
String stringValue () const
 Fetch String value of current item. More...
 

Detailed Description

Persistent item data. contains a value which was stored in PersistentData.

Member Function Documentation

◆ boolValue

bool PersistentItem::boolValue ( ) const
slot

Fetch Boolean value of current item.

Returns
bool value, or false if not in SM_PersistentData

◆ isNull

bool PersistentItem::isNull ( ) const
slot

Query nullness of current item. This state is true whenever the queried item could not be find in the SM_PersistentData.

Returns
bool state

◆ numberValue

double PersistentItem::numberValue ( ) const
slot

Fetch Number value of current item.

Returns
Number value, or 0 if not in SM_PersistentData

◆ stringValue

String PersistentItem::stringValue ( ) const
slot

Fetch String value of current item.

Returns
String value, or "(nil)" if not in SM_PersistentData