Contents

setObject(_:forProperty:)

Specifies the value of a receiver’s property.

Declaration

func setObject(_ object: Any?, forProperty property: NSSpeechSynthesizer.SpeechPropertyKey) throws

Parameters

  • object:

    The property’s new value. The supported properties are listed in NSSpeechStatusProperty Dictionary Keys.

  • property:

    The property to set.

Discussion

See Also

Configuring Speech Attributes