Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.CallState
Synopsis
- data CallState
- = CallStatePending {
- is_created :: Maybe Bool
- is_received :: Maybe Bool
- | CallStateExchangingKeys
- | CallStateReady { }
- | CallStateHangingUp
- | CallStateDiscarded { }
- | CallStateError { }
- = CallStatePending {
Documentation
Describes the current call state
Constructors
CallStatePending | The call is pending, waiting to be accepted by a user |
Fields
| |
CallStateExchangingKeys | The call has been answered and encryption keys are being exchanged |
CallStateReady | The call is ready to use |
Fields
| |
CallStateHangingUp | The call is hanging up after discardCall has been called |
CallStateDiscarded | The call has ended successfully |
Fields
| |
CallStateError | The call has ended with an error |