IncomingCallState interface

State only version of <xref:%40azure%2Fcommunication-calling%23IncomingCall>. StatefulCallClient will automatically detect incoming calls and add their state to the state exposed by StatefulCallClient.

Properties

callEndReason

Set to the state returned by 'callEnded' event on <xref:%40azure%2Fcommunication-calling%23IncomingCall> when received. This property is added by the stateful layer and is not a proxy of SDK state.

callerInfo

Proxy of <xref:%40azure%2Fcommunication-calling%23IncomingCall.callerInfo>.

endTime

Stores the local date when the call ended on the client. This property is added by the stateful layer and is not a proxy of SDK state. It is undefined if the call is not ended yet.

id

Proxy of <xref:%40azure%2Fcommunication-calling%23IncomingCall.id>.

startTime

Stores the local date when the call started on the client. This property is added by the stateful layer and is not a proxy of SDK state.

Property Details

callEndReason

Set to the state returned by 'callEnded' event on <xref:%40azure%2Fcommunication-calling%23IncomingCall> when received. This property is added by the stateful layer and is not a proxy of SDK state.

callEndReason?: CallEndReason

Property Value

callerInfo

Proxy of <xref:%40azure%2Fcommunication-calling%23IncomingCall.callerInfo>.

callerInfo: CallerInfo

Property Value

endTime

Stores the local date when the call ended on the client. This property is added by the stateful layer and is not a proxy of SDK state. It is undefined if the call is not ended yet.

endTime?: Date

Property Value

Date

id

Proxy of <xref:%40azure%2Fcommunication-calling%23IncomingCall.id>.

id: string

Property Value

string

startTime

Stores the local date when the call started on the client. This property is added by the stateful layer and is not a proxy of SDK state.

startTime: Date

Property Value

Date