CustomizationOptions

data class CustomizationOptions(customStrings: CustomStrings?, tytoCareConfig: TytoCareConfig?, virtualConfig: VirtualConfig?, validateEmails: Boolean) : Parcelable

Contains various properties that can be explicitly customized by the implementing app. Everything here is optional and the SDK will remain fully functional when nothing is specified. See the individual properties' documentation for more information on what each property is used for.

Parameters

customStrings

A container for various Strings that could be displayed to the user.

tytoCareConfig

A container for various TytoCare feature-specific customization options. Only relevant when TytoCare integration is enabled for your implementation.

virtualConfig

A container for various Virtual Visit-related configs. When not specified, the VirtualConfig's default values are used.

validateEmails

Whether or not the SDK should validate emails with the Regex found at org.dexcare.util.EmailValidator. Note that the email validation in the SDK is stricter than normal email validation. Defaults to true.

Constructors

CustomizationOptions
Link copied to clipboard
fun CustomizationOptions(customStrings: CustomStrings? = null, tytoCareConfig: TytoCareConfig? = null, virtualConfig: VirtualConfig? = null, validateEmails: Boolean = true)
A container for various Strings that could be displayed to the user.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

customStrings
Link copied to clipboard
var customStrings: CustomStrings? = null
A container for various Strings that could be displayed to the user.
tytoCareConfig
Link copied to clipboard
var tytoCareConfig: TytoCareConfig? = null
A container for various TytoCare feature-specific customization options.
validateEmails
Link copied to clipboard
var validateEmails: Boolean = true
Whether or not the SDK should validate emails with the Regex found at org.dexcare.util.EmailValidator.
virtualConfig
Link copied to clipboard
var virtualConfig: VirtualConfig? = null
A container for various Virtual Visit-related configs.