Class: PhoneCall¶
domain/PhoneCall.PhoneCall
Constructors¶
constructor¶
new PhoneCall(callId
, callNumber
, callState
, disconnectCause
)
Model class for the phone call.
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
the unique id of the call |
|
|
the phone number that the call is connecting to |
|
the state of the call. See PhoneCallState |
|
|
The cause of the termination of a call. See CallDisconnectCause. |
Properties¶
callId¶
callId: string
the unique id of the call
callNumber¶
callNumber: string
the phone number that the call is connecting to
callState¶
callState: PhoneCallState
the state of the call. See PhoneCallState
disconnectCause¶
disconnectCause: CallDisconnectCause
The cause of the termination of a call. See CallDisconnectCause.
Methods¶
fromJSON¶
Static
fromJSON(data
): PhoneCall
Parameters¶
Name |
Type |
---|---|
|
|