UserDefaultsSystemConfigReader

class UserDefaultsSystemConfigReader(userDefaults: NSUserDefaults) : SystemConfigReader(source)

A configuration reader implementation backed by Apple's NSUserDefaults.

This class provides a mechanism to retrieve system configuration properties stored in the NSUserDefaults system on Apple platforms.

Parameters

userDefaults

The NSUserDefaults instance used to fetch configuration values.

Constructors

Link copied to clipboard
constructor(userDefaults: NSUserDefaults)

Initializes an instance of UserDefaultsSystemConfigReader with the provided NSUserDefaults.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getConfigVariable(name: String): String?

Retrieves the value of a system configuration property by its name.