ChoiceCallback
@objc(FRChoiceCallback)
public class ChoiceCallback : SingleValueCallback
ChoiceCallback is a representation of OpenAM’s ChoiceCallback to collect single user input from available choices, and with predefined default choice, and to retrieve selected choice from user interaction.
-
List of available options for ChoiceCallback
Declaration
Swift
@objc public var choices: [String] -
Default choice value defined from OpenAM
Declaration
Swift
@objc public var defaultChoice: Int
-
Sets Int input value of the choice for ChoiceCallback.
Declaration
Swift
public func setValue(_ val: Int)Parameters
valInt input value for ChoiceCallback
View on GitHub