Class CallAgentOptions
- Object
- 
- CommonCallAgentOptions
- 
- CallAgentOptions
 
 
- 
 public final class CallAgentOptions extends CommonCallAgentOptions Options for creating CallAgent
- 
- 
Constructor SummaryConstructors Constructor Description CallAgentOptions()Creates a new instance with a default options
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Specify the display name of the local participant for all new callsEmergencyCallOptionsgetEmergencyCallOptions()Emergency call options when creating a call agentIntegergetPushNotificationTtlInSeconds()Get push notification time-to-live value.CallAgentOptionssetDisableInternalPushForIncomingCall(boolean value)Determines whether to disable the internal push mechanism for delivering the push payload of an incoming call.CallAgentOptionssetDisplayName(String value)Specify the display name of the local participant for all new callsCallAgentOptionssetEmergencyCallOptions(EmergencyCallOptions value)Emergency call options when creating a call agentCallAgentOptionssetPushNotificationTtlInSeconds(Integer value)Sets time-to-live value for push notification.CallAgentOptionssetTelecomManagerOptions(TelecomManagerOptions value)TelecomManager options- 
Methods inherited from class CommonCallAgentOptionsfinalize, getTelecomManagerOptions, isDisableInternalPushForIncomingCall
 
- 
 
- 
- 
- 
Method Detail- 
getDisplayNamepublic String getDisplayName() Specify the display name of the local participant for all new calls
 - 
setDisplayNamepublic CallAgentOptions setDisplayName(String value) Specify the display name of the local participant for all new calls- Parameters:
- value- The new value.
 
 - 
getEmergencyCallOptionspublic EmergencyCallOptions getEmergencyCallOptions() Emergency call options when creating a call agent
 - 
setEmergencyCallOptionspublic CallAgentOptions setEmergencyCallOptions(EmergencyCallOptions value) Emergency call options when creating a call agent- Parameters:
- value- The new value.
 
 - 
setDisableInternalPushForIncomingCallpublic CallAgentOptions setDisableInternalPushForIncomingCall(boolean value) Determines whether to disable the internal push mechanism for delivering the push payload of an incoming call. There are two ways that a push payload of an incoming call can be delivered to the callee: 1. By using Firebase Cloud Messaging (FCM) and registering the device token with the API `registerPushNotification` method on `CallAgent` or `TeamsCallAgent`. 2. When a `CallAgent` or `TeamsCallAgent` is created, the SDK also internally registers with our internal push service to receive the push payload. By default, the internal push is enabled. To exclusively use FCM and disable the internal push, set this parameter to `true`.- Overrides:
- setDisableInternalPushForIncomingCallin class- CommonCallAgentOptions
- Parameters:
- value- The new value.
 
 - 
setTelecomManagerOptionspublic CallAgentOptions setTelecomManagerOptions(TelecomManagerOptions value) TelecomManager options- Overrides:
- setTelecomManagerOptionsin class- CommonCallAgentOptions
- Parameters:
- value- The new value.
 
 - 
getPushNotificationTtlInSecondspublic Integer getPushNotificationTtlInSeconds() Get push notification time-to-live value.- Returns:
- The time-to-live (TTL) value in seconds.
 
 - 
setPushNotificationTtlInSecondspublic CallAgentOptions setPushNotificationTtlInSeconds(Integer value) Sets time-to-live value for push notification.- Parameters:
- value- Time-to-live in seconds.
- Returns:
- The resulting TeamsCall object.
 
 
- 
 
-