---
title: "CopySpeechProperty(_:_:_:)"
framework: applicationservices
role: symbol
role_heading: Function
path: applicationservices/1459075-copyspeechproperty
---

# CopySpeechProperty(_:_:_:)

Gets the value associated with the specified property of a speech channel.

## Declaration

```swift
func CopySpeechProperty(_ chan: SpeechChannel, _ property: CFString, _ object: UnsafeMutablePointer<CFTypeRef?>) -> OSErr
```

## Parameters

- `chan`: The speech channel with which the specified property is associated.
- `property`: A speech-channel property about which information is being requested. See doc://com.apple.documentation/documentation/applicationservices/speech_synthesis_manager/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 object can be NULL. When the returned object is a CFDictionary object, you can use CFDictionary functions, such as doc://com.apple.corefoundation/documentation/CoreFoundation/CFDictionaryGetValue(_:_:), to retrieve the values associated with the keys that are associated with the specified property.

## Return Value

Return Value A result code. See Result Codes.

## Discussion

Discussion The CopySpeechProperty function is the Core Foundation-based equivalent of the GetSpeechInfo function.

## See Also

### Obtaining Information About Speech and Speech Channels

- [GetSpeechPitch(_:_:)](applicationservices/1464774-getspeechpitch.md)
- [GetSpeechRate(_:_:)](applicationservices/1460797-getspeechrate.md)
- [SpeechBusy()](applicationservices/1464581-speechbusy.md)
- [SpeechBusySystemWide()](applicationservices/1460113-speechbusysystemwide.md)
- [SpeechManagerVersion()](applicationservices/1462334-speechmanagerversion.md)
