FMX.PhoneDialer.TCallState
Delphi
TCallState = (None, Connected, Incoming, Dialing, Disconnected);
C++
enum class DECLSPEC_DENUM TCallState : unsigned char { None, Connected, Incoming, Dialing, Disconnected, csNone _DEPRECATED_ATTRIBUTE3("Use TCallState.None") = 0, csConnected _DEPRECATED_ATTRIBUTE3("Use TCallState.Connected") = 1, csIncoming _DEPRECATED_ATTRIBUTE3("Use TCallState.Incoming") = 2, csDialing _DEPRECATED_ATTRIBUTE3("Use TCallState.Dialing") = 3, csDisconnected _DEPRECATED_ATTRIBUTE3("Use TCallState.Disconnected") = 4 };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | FMX.PhoneDialer.pas FMX.PhoneDialer.hpp |
FMX.PhoneDialer | FMX.PhoneDialer |
Description
Is an enumeration of possible phone call states.
The following table describes the items in the TCallState enumeration. For each mobile platform, + indicates supported states, and - indicates states that are not supported.
| Item | Description | iOS | Android |
|---|---|---|---|
| None | No call state. | + | - |
| Connected | The phone caller is connected to the called party. | + | + |
| Incoming | An incoming phone call. | + | + |
| Dialing | The phone is in a dialing state. | + | - |
| Disconnected | Call is disconnected. | + | + |