Class TransferCallToParticipantOptions
java.lang.Object
com.azure.communication.callautomation.models.TransferCallToParticipantOptions
The options for adding participants.
-
Constructor Summary
ConstructorsConstructorDescriptionTransferCallToParticipantOptions(CommunicationIdentifier targetParticipant) ConstructorTransferCallToParticipantOptions(CommunicationUserIdentifier targetParticipant) ConstructorTransferCallToParticipantOptions(MicrosoftTeamsUserIdentifier targetParticipant) ConstructorTransferCallToParticipantOptions(PhoneNumberIdentifier targetParticipant) Constructor -
Method Summary
Modifier and TypeMethodDescriptionget custom contextGet the overridden call back URL override for operation.Get the operationContext.Get the sourceCallerIdNumber.Get the transfer target to whom the call is transferredGet the participant who is being transferred away.setOperationCallbackUrl(String operationCallbackUrl) Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.setOperationContext(String operationContext) Set the operationContext.setSourceCallerIdNumber(PhoneNumberIdentifier sourceCallerIdNumber) Set the sourceCallerIdNumber.setTransferee(CommunicationIdentifier transferee) Set the participant who is being transferred away.
-
Constructor Details
-
TransferCallToParticipantOptions
Constructor- Parameters:
targetParticipant-CommunicationIdentifiercontains information for TransferTarget(to whom the call is transferred).
-
TransferCallToParticipantOptions
Constructor- Parameters:
targetParticipant-CommunicationUserIdentifiercontains information for TransferTarget(to whom the call is transferred).
-
TransferCallToParticipantOptions
Constructor- Parameters:
targetParticipant-PhoneNumberIdentifiercontains information for TransferTarget(to whom the call is transferred).
-
TransferCallToParticipantOptions
Constructor- Parameters:
targetParticipant-MicrosoftTeamsUserIdentifiercontains information for TransferTarget(to whom the call is transferred).
-
-
Method Details
-
getOperationContext
Get the operationContext.- Returns:
- the operationContext
-
setOperationContext
Set the operationContext.- Parameters:
operationContext- the operationContext to set- Returns:
- the TransferCallToParticipantOptions object itself.
-
getTransferee
Get the participant who is being transferred away.- Returns:
- the transferee
-
setTransferee
Set the participant who is being transferred away.- Parameters:
transferee- the participant who is being transferred away- Returns:
- the TransferCallToParticipantOptions object itself.
-
getTargetParticipant
Get the transfer target to whom the call is transferred- Returns:
- a
CommunicationIdentifierwith information to transfer target
-
getCustomCallingContext
get custom context- Returns:
- custom context
-
getOperationCallbackUrl
Get the overridden call back URL override for operation.- Returns:
- the operationCallbackUrl
-
setOperationCallbackUrl
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:
operationCallbackUrl- the operationCallbackUrl to set- Returns:
- the TransferCallToParticipantOptions object itself.
-
getSourceCallerIdNumber
Get the sourceCallerIdNumber.- Returns:
- the sourceCallerIdNumber
-
setSourceCallerIdNumber
public TransferCallToParticipantOptions setSourceCallerIdNumber(PhoneNumberIdentifier sourceCallerIdNumber) Set the sourceCallerIdNumber.- Parameters:
sourceCallerIdNumber- the sourceCallerIdNumber to set- Returns:
- the TransferCallToParticipantOptions object itself.
-