StartRecordingOptions Class
- java.
lang. Object - com.
azure. communication. callautomation. models. StartRecordingOptions
- com.
public final class StartRecordingOptions
The options for creating a call.
Constructor Summary
| Constructor | Description |
|---|---|
| StartRecordingOptions(CallLocator callLocator) |
Constructor |
| StartRecordingOptions(String callConnectionId) |
Constructor |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Communication |
getAudioChannelParticipantOrdering()
Get the audio |
| String |
getCallConnectionId()
Get the call connection ID. |
|
Call |
getCallLocator()
Get the call locator. |
|
List<Channel |
getChannelAffinity()
Get the channel |
|
Recording |
getRecordingChannel()
Get the channel property. |
|
Recording |
getRecordingContent()
Get the content property. |
|
Recording |
getRecordingFormat()
Get the recording format. |
| String |
getRecordingStateCallbackUrl()
Uri to send state change callbacks. |
|
Recording |
getRecordingStorage()
Get the external |
| Boolean |
isPauseOnStart()
Get pause on start. |
|
Start |
setAudioChannelParticipantOrdering(List<CommunicationIdentifier> audioChannelParticipantOrdering)
Set the audio |
|
Start |
setChannelAffinity(List<ChannelAffinity> channelAffinity)
Set the channel |
|
Start |
setPauseOnStart(Boolean pauseOnStart)
Set the pause on start property. |
|
Start |
setRecordingChannel(RecordingChannel recordingChannel)
Set the channel property. |
|
Start |
setRecordingContent(RecordingContent recordingContent)
Set the content property. |
|
Start |
setRecordingFormat(RecordingFormat recordingFormat)
Set the recording format property. |
|
Start |
setRecordingStateCallbackUrl(String recordingStateCallbackUrl)
Set the recording |
|
Start |
setRecordingStorage(RecordingStorage recordingStorage)
Set the external |
Methods inherited from java.lang.Object
Constructor Details
StartRecordingOptions
public StartRecordingOptions(CallLocator callLocator)
Constructor
Parameters:
StartRecordingOptions
public StartRecordingOptions(String callConnectionId)
Constructor
Parameters:
Method Details
getAudioChannelParticipantOrdering
public List<CommunicationIdentifier> getAudioChannelParticipantOrdering()
Get the audioChannelParticipantOrdering property: The sequential order in which audio channels are assigned to participants in the unmixed recording. When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified, the audio channel to participant mapping will be automatically assigned based on the order in which participant first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.
Returns:
getCallConnectionId
public String getCallConnectionId()
Get the call connection ID.
Returns:
getCallLocator
public CallLocator getCallLocator()
Get the call locator.
Returns:
getChannelAffinity
public List<ChannelAffinity> getChannelAffinity()
Get the channelAffinity property: The channel affinity of call recording When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned. Channel-Participant mapping details can be found in the metadata of the recording. ///.
Returns:
getRecordingChannel
public RecordingChannel getRecordingChannel()
Get the channel property.
Returns:
getRecordingContent
public RecordingContent getRecordingContent()
Get the content property.
Returns:
getRecordingFormat
public RecordingFormat getRecordingFormat()
Get the recording format.
Returns:
getRecordingStateCallbackUrl
public String getRecordingStateCallbackUrl()
Uri to send state change callbacks.
Returns:
getRecordingStorage
public RecordingStorage getRecordingStorage()
Get the externalStorage property: Used to specify external storage for call recording
Returns:
isPauseOnStart
public Boolean isPauseOnStart()
Get pause on start.
Returns:
setAudioChannelParticipantOrdering
public StartRecordingOptions setAudioChannelParticipantOrdering(List<CommunicationIdentifier> audioChannelParticipantOrdering)
Set the audioChannelParticipantOrdering property: The sequential order in which audio channels are assigned to participants in the unmixed recording. When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified, the audio channel to participant mapping will be automatically assigned based on the order in which participant first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.
Parameters:
Returns:
setChannelAffinity
public StartRecordingOptions setChannelAffinity(List<ChannelAffinity> channelAffinity)
Set the channelAffinity property: The channel affinity of call recording When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned. Channel-Participant mapping details can be found in the metadata of the recording. ///.
Parameters:
Returns:
setPauseOnStart
public StartRecordingOptions setPauseOnStart(Boolean pauseOnStart)
Set the pause on start property.
Parameters:
Returns:
setRecordingChannel
public StartRecordingOptions setRecordingChannel(RecordingChannel recordingChannel)
Set the channel property.
Parameters:
Returns:
setRecordingContent
public StartRecordingOptions setRecordingContent(RecordingContent recordingContent)
Set the content property.
Parameters:
Returns:
setRecordingFormat
public StartRecordingOptions setRecordingFormat(RecordingFormat recordingFormat)
Set the recording format property.
Parameters:
Returns:
setRecordingStateCallbackUrl
public StartRecordingOptions setRecordingStateCallbackUrl(String recordingStateCallbackUrl)
Set the recordingStateCallbackUrl
Parameters:
Returns:
setRecordingStorage
public StartRecordingOptions setRecordingStorage(RecordingStorage recordingStorage)
Set the externalStorage property: Used to specify external storage for call recording
Parameters:
Returns: