Protocol YSKDialogSkin

The protocol defines methods to configure the appearance of the YSKRecognizerDialogController dialog.

Two main implementations of this protocol set the the dialog's theme color:

To set this parameter, use the skin property.

Properties

backgroundColor

The main color of the dialog background.

errorTextColor

Error message text color.

powerBackgroundColor

The color of the background of a semicircle that shows changes in the power of a speech signal.

primaryTextColor

The main color of the text used for displaying recognition results.

secondaryTextColor

Additional text color used for UI elements.

Property Detail

backgroundColor

(strong, readonly) UIColor * backgroundColor

The main color of the dialog background.

errorTextColor

(strong, readonly) UIColor * errorTextColor

Error message text color.

powerBackgroundColor

(strong, readonly) UIColor * powerBackgroundColor

The color of the background of a semicircle that shows changes in the power of a speech signal.

primaryTextColor

(strong, readonly) UIColor * primaryTextColor

The main color of the text used for displaying recognition results.

secondaryTextColor

(strong, readonly) UIColor * secondaryTextColor

Additional text color used for UI elements.