Class CommonCallAgentOptions
- Object
-
- CommonCallAgentOptions
-
- Direct Known Subclasses:
CallAgentOptions
,TeamsCallAgentOptions
public abstract class CommonCallAgentOptions extends Object
Common Options for creating CallAgent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.TelecomManagerOptions
getTelecomManagerOptions()
TelecomManager optionsboolean
isDisableInternalPushForIncomingCall()
Determines whether to disable the internal push mechanism for delivering the push payload of an incoming call.CommonCallAgentOptions
setDisableInternalPushForIncomingCall(boolean value)
Determines whether to disable the internal push mechanism for delivering the push payload of an incoming call.CommonCallAgentOptions
setTelecomManagerOptions(TelecomManagerOptions value)
TelecomManager options
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalize
in classObject
-
isDisableInternalPushForIncomingCall
public boolean isDisableInternalPushForIncomingCall()
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`.
-
setDisableInternalPushForIncomingCall
public CommonCallAgentOptions 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`.- Parameters:
value
- The new value.
-
getTelecomManagerOptions
public TelecomManagerOptions getTelecomManagerOptions()
TelecomManager options
-
setTelecomManagerOptions
public CommonCallAgentOptions setTelecomManagerOptions(TelecomManagerOptions value)
TelecomManager options- Parameters:
value
- The new value.
-
-