SettingOptions
public struct SettingOptions : Equatable
Type to represent a setting with a list of options to choose from.
-
Undocumented
Declaration
Swift
public let settingID: String -
Undocumented
Declaration
Swift
public let settingDescription: String -
Undocumented
Declaration
Swift
public let options: [Option] -
Undocumented
Declaration
Swift
public let isRange: Bool -
Initializes a new
SettingOptions.Declaration
Swift
public init(settingID: String, settingDescription: String, options: [Option], isRange: Bool)Parameters
settingIDName of the setting (machine readable)
settingDescriptionDescription of the setting (human readable)
optionsList of options or if range [min, max] or [min, max, interval]
isRangeIf option is given as a range
-
Declaration
Swift
public static func == (lhs: SettingOptions, rhs: SettingOptions) -> Bool
View on GitHub
Install in Dash
SettingOptions Structure Reference