Class TeamsCallAgentOptions
- Object
-
- CommonCallAgentOptions
-
- TeamsCallAgentOptions
-
public final class TeamsCallAgentOptions extends CommonCallAgentOptions
Options for creating TeamsCallAgent
-
-
Constructor Summary
Constructors Constructor Description TeamsCallAgentOptions()
Creates a new instance with a default options
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamsCallAgentOptions
setDisableInternalPushForIncomingCall(boolean value)
Determines whether to disable the internal push mechanism for delivering the push payload of an incoming call.TeamsCallAgentOptions
setTelecomManagerOptions(TelecomManagerOptions value)
TelecomManager options-
Methods inherited from class CommonCallAgentOptions
finalize, getTelecomManagerOptions, isDisableInternalPushForIncomingCall
-
-
-
-
Method Detail
-
setDisableInternalPushForIncomingCall
public TeamsCallAgentOptions 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:
setDisableInternalPushForIncomingCall
in classCommonCallAgentOptions
- Parameters:
value
- The new value.
-
setTelecomManagerOptions
public TeamsCallAgentOptions setTelecomManagerOptions(TelecomManagerOptions value)
TelecomManager options- Overrides:
setTelecomManagerOptions
in classCommonCallAgentOptions
- Parameters:
value
- The new value.
-
-