CustomizationOptions
public struct CustomizationOptions : Equatable
A structure holding information on customizing the DexcareSDK
-
Undocumented
Declaration
Swift
public var customStrings: CustomStrings? -
Values for customization of the TytoCare integration This value can be set after the first initialization of the SDK, but must be set before you start a virtual visit.
Declaration
Swift
public var tytoCareConfig: TytoCareConfig? -
Options for the Virtual Visit experience. This value can be set after the first initialization of the SDK, but must be set before you start a virtual visit.
Declaration
Swift
public var virtualConfig: VirtualConfig? -
Whether or not to validate emails If true, all emails passed in the SDK will be validated with a regex found at
EmailValidator.EMAIL_VALIDATION_REGEXIf set to false, no validation will happen, and it is up to you to validate any invalid emails.Note
default is trueDeclaration
Swift
public var validateEmails: Bool -
Initialization of the CustomOptions
Declaration
Swift
@available(*, deprecated, message: "customStrings has been deprecated. You can override strings by setting the key in a Localizable.strings file") public init(customStrings: CustomStrings?, tytoCareConfig: TytoCareConfig? = nil, virtualConfig: VirtualConfig? = nil, validateEmails: Bool = true) -
Undocumented
Declaration
Swift
public init(tytoCareConfig: TytoCareConfig? = nil, virtualConfig: VirtualConfig? = nil, validateEmails: Bool = true)
View on GitHub
Install in Dash
CustomizationOptions Structure Reference