Class

CPVoiceControlState

A voice control state containing title variants and images for use by a voice control template.

Declaration

@interface CPVoiceControlState : NSObject

Topics

Creating a Voice Control State

- initWithIdentifier:titleVariants:image:repeats:

Initializes a voice control state.

Getting State Information

identifier

The string that your app uses to identify the voice control state.

titleVariants

The array of title variants for the voice control state.

image

The image displayed while the voice control template is in this state.

repeats

A Boolean value that indicates whether the display of an animated image repeats the animation sequence indefinitely.

Relationships

Inherits From

Conforms To

See Also

Creating a Voice Control Template

- initWithVoiceControlStates:

Initializes a voice control template with the specified states.