Class CallAgentOptions

    • Constructor Detail

      • CallAgentOptions

        public CallAgentOptions()
        Creates a new instance with a default options
    • Method Detail

      • getDisplayName

        public String getDisplayName()
        Specify the display name of the local participant for all new calls
      • setDisplayName

        public CallAgentOptions setDisplayName​(String value)
        Specify the display name of the local participant for all new calls
        Parameters:
        value - The new value.
      • getEmergencyCallOptions

        public EmergencyCallOptions getEmergencyCallOptions()
        Emergency call options when creating a call agent
      • setEmergencyCallOptions

        public CallAgentOptions setEmergencyCallOptions​(EmergencyCallOptions value)
        Emergency call options when creating a call agent
        Parameters:
        value - The new value.
      • setDisableInternalPushForIncomingCall

        public 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:
        setDisableInternalPushForIncomingCall in class CommonCallAgentOptions
        Parameters:
        value - The new value.
      • getPushNotificationTtlInSeconds

        public Integer getPushNotificationTtlInSeconds()
        Get push notification time-to-live value.
        Returns:
        The time-to-live (TTL) value in seconds.
      • setPushNotificationTtlInSeconds

        public CallAgentOptions setPushNotificationTtlInSeconds​(Integer value)
        Sets time-to-live value for push notification.
        Parameters:
        value - Time-to-live in seconds.
        Returns:
        The resulting TeamsCall object.