CopySpeechProperty(_:_:_:)
Gets the value associated with the specified property of a speech channel.
Declaration
func CopySpeechProperty(_ chan: SpeechChannel, _ property: CFString, _ object: UnsafeMutablePointer<CFTypeRef?>) -> OSErrParameters
- chan:
The speech channel with which the specified property is associated.
- property:
A speech-channel property about which information is being requested. See Speech Channel_properties for information on the properties you can specify.
- object:
On return, a pointer to a Core Foundation object that holds the value of the specified property. The type of the object depends on the specific property passed in. For some properties, the value of
objectcan beNULL. When the returned object is aCFDictionaryobject, you can useCFDictionaryfunctions, such as Cfdictionarygetvalue(_:_:), to retrieve the values associated with the keys that are associated with the specified property.
Return Value
A result code. See Result Codes.
Discussion
The CopySpeechProperty function is the Core Foundation-based equivalent of the GetSpeechInfo function.