Class JoinCallOptions
java.lang.Object
com.azure.communication.callingserver.models.JoinCallOptions
The options for join call.
-
Constructor Summary
ConstructorDescriptionJoinCallOptions
(String callbackUri, List<MediaType> requestedMediaTypes, List<EventSubscriptionType> requestedCallEvents) Initializes a new instance of JoinCallOptions. -
Method Summary
Modifier and TypeMethodDescriptionGet the callbackUri property: The callback URI.Get the requestedCallEvents property: The requested call events to subscribe to.Get the requestedMediaTypes property: The requested MediaTypes.Get the subject property: The subject.setCallbackUri
(String callbackUri) Set the callbackUri property: The callback URI.setRequestedCallEvents
(List<EventSubscriptionType> requestedCallEvents) Set the requestedCallEvents property: The requested call events to subscribe to.setRequestedMediaTypes
(List<MediaType> requestedMediaTypes) Set the requestedMediaTypes property: The requested MediaTypes.setSubject
(String subject) Set the subject property: The subject.
-
Constructor Details
-
JoinCallOptions
public JoinCallOptions(String callbackUri, List<MediaType> requestedMediaTypes, List<EventSubscriptionType> requestedCallEvents) Initializes a new instance of JoinCallOptions.- Parameters:
callbackUri
- the callback URI.requestedMediaTypes
- the requested media types.requestedCallEvents
- the requested call events to subscribe to.- Throws:
IllegalArgumentException
- if any parameters are null.
-
-
Method Details
-
getSubject
Get the subject property: The subject.- Returns:
- the subject value.
-
setSubject
Set the subject property: The subject.- Parameters:
subject
- the subject value to set.- Returns:
- the JoinCallOptions object itself.
-
getCallbackUri
Get the callbackUri property: The callback URI.- Returns:
- the callbackUri value.
-
setCallbackUri
Set the callbackUri property: The callback URI.- Parameters:
callbackUri
- the callbackUri value to set.- Returns:
- the JoinCallOptions object itself.
-
getRequestedMediaTypes
Get the requestedMediaTypes property: The requested MediaTypes.- Returns:
- the requestedMediaTypes value.
-
setRequestedMediaTypes
Set the requestedMediaTypes property: The requested MediaTypes.- Parameters:
requestedMediaTypes
- the requestedModalities value to set.- Returns:
- the JoinCallOptions object itself.
-
getRequestedCallEvents
Get the requestedCallEvents property: The requested call events to subscribe to.- Returns:
- the requestedCallEvents value.
-
setRequestedCallEvents
Set the requestedCallEvents property: The requested call events to subscribe to.- Parameters:
requestedCallEvents
- the requestedCallEvents value to set.- Returns:
- the JoinCallOptions object itself.
-