ifRegistrySection

Implemented by

NameDescription
roRegistrySectionA Registry Section enables the organization of settings within the registry

Supported methods

Read(key as String) as String

Description

Reads and returns the value of the specified key.

Parameters

NameTypeDescription
keyStringThe key name to be read.

Return Value

The value of the key.

NameReturn TypeParametersReturn ValueDescription
ReadString${readparamTable}Value of the key - String

ReadMulti(keysArray as Object) as Object

Description

Reads multiple values from the registry.

Parameters

NameTypeDescription
keysArrayObjectAn array of strings containing the key names to be read.

Return Value

An associative array containing the keys and corresponding values read from the registry.

Write(key as String, value as String) as Boolean

Description

Replaces the value of the specified key. Does not guarantee a commit to non-volatile storage until an explicit Flush() is done.

Parameters

NameTypeDescription
keyStringThe name of the key to be updated.
valueStringThe updated value to be written to the specified key.

Return Value

A flag indicating whether the value of the key was successfully updated.

WriteMulti(roAssociativeArray as Object) as Boolean

Description

Writes multiple values to the registry.

Parameters

NameTypeDescription
roAssociativeArrayObjectAn associative array with key-value pairs to be updated.

Return Value

A flag indicating whether the values were successfully updated.

Delete(key as String) as Boolean

Deletes the specified key.

Parameters

NameTypeDescription
keyStringThe key to be deleted.

Return Value

A flag indicating whether the key was successfully deleted.

Exists(key as String) as Boolean

Description

Checks if the specified key resides in the registry.

Parameters

NameTypeDescription
keyStringThe key to be checked.

Return Value

A flag indicating whether the key is in the registry.

Flush() as Boolean

Description

Flushes the contents of the registry out to persistent storage in order to permanently store a token or other setting on the device. Developers should explicitly this method after performing a write or series of writes. This method is transactional and all writes between calls to it are atomic.

Return Value

A flag indicating whether the registry was successfully flushed.

GetKeyList() as Object

Description

Gets a list of the keys in the registry.

Return Value

An roList containing one entry per registry key in this section.