UniPRT SDK  v1.0.0.0
ISettingsReadWrite Interface Reference
Inheritance diagram for ISettingsReadWrite:
SettingsReadWrite

Public Member Functions

Map< String, SettingGetAllProperties ()
 Read all settings.
 
Map< String, String > GetAllValues ()
 Read all settings key/value pairs.
 
Map< String, SettingGetProperties (List< String > keys)
 Read setting associated with given key.
 
Setting GetProperties (String key)
 Read multiple settings associated with the given list of keys.
 
String GetValue (String key)
 Read setting associated with the given key.
 
Map< String, String > GetValues (List< String > keys)
 Read multiple settings associated with the given list of keys.
 
boolean SetValue (String keyToSet, String valueToSet)
 Write a setting value associated with the given key. More...
 
boolean SetValues (Map< String, String > keysToSet)
 Write multiple settings associated with given keys. More...
 

Member Function Documentation

◆ SetValue()

boolean SetValue ( String  keyToSet,
String  valueToSet 
)

Write a setting value associated with the given key.

Returns true if write is successful. Note: A value intended to be processed as strings should be quoted. e.g., value = SomeString and value = "SomeString" will be sent exactly as received but may be handled differently by the printer.

Implemented in SettingsReadWrite.

◆ SetValues()

boolean SetValues ( Map< String, String >  keysToSet)

Write multiple settings associated with given keys.

Returns true if write is successful. Note: Values intended to be processed as strings should be quoted. e.g., value = SomeString and value = "SomeString" will be sent exactly as received but may be handled differently by the printer.

Implemented in SettingsReadWrite.