CTCall Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/CoreTelephony.framework/ |
| Availability | Available in iOS 4.0 and later. |
| Declared in | CTCall.h |
Overview
Use a cellular call’s CTCall object to obtain an identifier for the call and to determine the call’s state.
Properties
callID
A unique identifier for the cellular call. (read-only)
Discussion
Use this value to differentiate multiple active cellular calls.
Availability
- Available in iOS 4.0 and later.
Declared In
CTCall.hcallState
The state of the cellular call. (read-only)
Discussion
A cellular call’s initial state is either CTCallStateDialing or CTCallStateIncoming. When the call is fully established for all parties involved, the state transitions to CTCallStateConnected. When the call is terminated, the state transitions to CTCallStateDisconnected.
Availability
- Available in iOS 4.0 and later.
Declared In
CTCall.hConstants
Cellular Call States
States of cellular calls; one of dialing, incoming, connected, or disconnected.
extern NSString const *CTCallStateDialing; extern NSString const *CTCallStateIncoming; extern NSString const *CTCallStateConnected; extern NSString const *CTCallStateDisconnected;
Constants
CTCallStateDialingThe call state, before connection is established, when the user initiates the call.
Available in iOS 4.0 and later.
Declared in
CTCall.h.CTCallStateIncomingThe call state, before connection is established, when a call is incoming but not yet answered by the user.
Available in iOS 4.0 and later.
Declared in
CTCall.h.CTCallStateConnectedThe call state when the call is fully established for all parties involved.
Available in iOS 4.0 and later.
Declared in
CTCall.h.CTCallStateDisconnectedThe call state upon call termination.
Available in iOS 4.0 and later.
Declared in
CTCall.h.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-03-23)