Freigeben über


CallConnectionProperties Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.CallConnectionProperties

public final class CallConnectionProperties

Asynchronous client that supports call connection operations.

Constructor Summary

Constructor Description
CallConnectionProperties()

Public constructor.

Method Summary

Modifier and Type Method and Description
CommunicationUserIdentifier getAnsweredBy()

Get identity that answered the call

PhoneNumberIdentifier getAnsweredFor()

Get the answeredFor property: Identity of the original Pstn target of an incoming Call.

String getCallbackUrl()

Get the callbackUri property.

String getCallConnectionId()

Get the callConnectionId property, which is the call connection id.

CallConnectionState getCallConnectionState()

Get the callConnectionState property.

String getCorrelationId()

Get correlationId for the call

MediaStreamingSubscription getMediaStreamingSubscription()

Get the MediaStreamingSubscription property: SubscriptionId for media streaming.

String getServerCallId()

Get the server call Id.

CommunicationIdentifier getSource()

Get the source identity.

PhoneNumberIdentifier getSourceCallerIdNumber()

Get the source caller id number for PSTN.

String getSourceDisplayName()

Get the display name.

List<CommunicationIdentifier> getTargetParticipants()

Get the targets property.

TranscriptionSubscription getTranscriptionSubscription()

Get the TranscriptionSubscription property: SubscriptionId for transcription.

Methods inherited from java.lang.Object

Constructor Details

CallConnectionProperties

public CallConnectionProperties()

Public constructor.

Method Details

getAnsweredBy

public CommunicationUserIdentifier getAnsweredBy()

Get identity that answered the call

Returns:

identity that answered the call

getAnsweredFor

public PhoneNumberIdentifier getAnsweredFor()

Get the answeredFor property: Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number.

Returns:

the answeredFor value.

getCallbackUrl

public String getCallbackUrl()

Get the callbackUri property.

Returns:

callbackUri value.

getCallConnectionId

public String getCallConnectionId()

Get the callConnectionId property, which is the call connection id.

Returns:

callConnectionId value.

getCallConnectionState

public CallConnectionState getCallConnectionState()

Get the callConnectionState property.

Returns:

callConnectionState value.

getCorrelationId

public String getCorrelationId()

Get correlationId for the call

Returns:

correlationId for the call

getMediaStreamingSubscription

public MediaStreamingSubscription getMediaStreamingSubscription()

Get the MediaStreamingSubscription property: SubscriptionId for media streaming.

Returns:

the MediaStreamingSubscription value.

getServerCallId

public String getServerCallId()

Get the server call Id.

Returns:

serverCallId value.

getSource

public CommunicationIdentifier getSource()

Get the source identity.

Returns:

source value.

getSourceCallerIdNumber

public PhoneNumberIdentifier getSourceCallerIdNumber()

Get the source caller id number for PSTN.

Returns:

sourceCallerIdNumber value.

getSourceDisplayName

public String getSourceDisplayName()

Get the display name.

Returns:

sourceDisplayName value.

getTargetParticipants

public List<CommunicationIdentifier> getTargetParticipants()

Get the targets property.

Returns:

list of targets

getTranscriptionSubscription

public TranscriptionSubscription getTranscriptionSubscription()

Get the TranscriptionSubscription property: SubscriptionId for transcription.

Returns:

the TranscriptionSubscription value.

Applies to