TransferCallToParticipantOptions Class
- java.
lang. Object - com.
azure. communication. callautomation. models. TransferCallToParticipantOptions
- com.
public final class TransferCallToParticipantOptions
The options for adding participants.
Constructor Summary
Method Summary
Methods inherited from java.lang.Object
Constructor Details
TransferCallToParticipantOptions
public TransferCallToParticipantOptions(CommunicationIdentifier targetParticipant)
Constructor
Parameters:
TransferCallToParticipantOptions
public TransferCallToParticipantOptions(CommunicationUserIdentifier targetParticipant)
Constructor
Parameters:
TransferCallToParticipantOptions
public TransferCallToParticipantOptions(MicrosoftTeamsAppIdentifier targetParticipant)
Constructor
Parameters:
TransferCallToParticipantOptions
public TransferCallToParticipantOptions(MicrosoftTeamsUserIdentifier targetParticipant)
Constructor
Parameters:
TransferCallToParticipantOptions
public TransferCallToParticipantOptions(PhoneNumberIdentifier targetParticipant)
Constructor
Parameters:
TransferCallToParticipantOptions
public TransferCallToParticipantOptions(TeamsExtensionUserIdentifier targetParticipant)
Constructor
Parameters:
Method Details
getCustomCallingContext
public CustomCallingContext getCustomCallingContext()
get custom context
Returns:
getOperationCallbackUrl
public String getOperationCallbackUrl()
Get the overridden call back URL override for operation.
Returns:
getOperationContext
public String getOperationContext()
Get the operationContext.
Returns:
getSourceCallerIdNumber
public PhoneNumberIdentifier getSourceCallerIdNumber()
Get the sourceCallerIdNumber.
Returns:
getTargetParticipant
public CommunicationIdentifier getTargetParticipant()
Get the transfer target to whom the call is transferred
Returns:
getTransferee
public CommunicationIdentifier getTransferee()
Get the participant who is being transferred away.
Returns:
setOperationCallbackUrl
public TransferCallToParticipantOptions setOperationCallbackUrl(String operationCallbackUrl)
Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
Parameters:
Returns:
setOperationContext
public TransferCallToParticipantOptions setOperationContext(String operationContext)
Set the operationContext.
Parameters:
Returns:
setSourceCallerIdNumber
public TransferCallToParticipantOptions setSourceCallerIdNumber(PhoneNumberIdentifier sourceCallerIdNumber)
Set the sourceCallerIdNumber.
Parameters:
Returns:
setTransferee
public TransferCallToParticipantOptions setTransferee(CommunicationIdentifier transferee)
Set the participant who is being transferred away.
Parameters:
Returns: