-
public final class CallCompositeBuilder
Builder for creating CallComposite.
Used to build a CallComposite which is then used to start a call.
This class can be used to specify a Custom theme or locale to be used by the Call Composite.
-
-
Method Summary
Modifier and Type Method Description CallCompositeBuilder
theme(int themeId)
Sets an optional theme for call-composite to use by CallComposite. CallCompositeBuilder
localization(CallCompositeLocalizationOptions localization)
Sets an optional localization for call-composite to use by CallComposite. CallCompositeBuilder
multitasking(CallCompositeMultitaskingOptions options)
*While on the call, user can go back to previous activity from the call composite. CallCompositeBuilder
callScreenOrientation(CallCompositeSupportedScreenOrientation callScreenOrientation)
*Sets an optional orientation for call screen of the call-composite CallCompositeBuilder
setupScreenOrientation(CallCompositeSupportedScreenOrientation setupScreenOrientation)
*Sets an optional orientation for setup screen of the call-composite CallCompositeBuilder
capabilitiesChangedNotificationMode(CallCompositeCapabilitiesChangedNotificationMode mode)
Sets capabilities change notification mode. CallCompositeBuilder
setupScreenOptions(CallCompositeSetupScreenOptions options)
CallCompositeBuilder
callScreenOptions(CallCompositeCallScreenOptions callScreenOptions)
CallCompositeBuilder
telecomManagerOptions(CallCompositeTelecomManagerOptions telecomManagerOptions)
Sets an optional telecom manager options for call-composite to use by CallComposite. CallCompositeBuilder
displayName(String displayName)
Sets the display name. CallCompositeBuilder
applicationContext(Context applicationContext)
Sets the application context. CallCompositeBuilder
credential(CommunicationTokenCredential credential)
Sets the credential. CallCompositeBuilder
disableInternalPushForIncomingCall(Boolean disableInternalPushForIncomingCall)
Sets the disableInternalPushForIncomingCall. CallCompositeBuilder
userId(CommunicationIdentifier userId)
Sets the communication identifier. CallComposite
build()
Builds the CallCompositeClass CallComposite. -
-
Method Detail
-
theme
CallCompositeBuilder theme(int themeId)
Sets an optional theme for call-composite to use by CallComposite.
- Parameters:
themeId
- Theme ID.
-
localization
CallCompositeBuilder localization(CallCompositeLocalizationOptions localization)
Sets an optional localization for call-composite to use by CallComposite.
- Parameters:
localization
- CallCompositeLocalizationOptions.
-
multitasking
CallCompositeBuilder multitasking(CallCompositeMultitaskingOptions options)
*While on the call, user can go back to previous activity from the call composite.
- Parameters:
options
- Multitasking options.
-
callScreenOrientation
CallCompositeBuilder callScreenOrientation(CallCompositeSupportedScreenOrientation callScreenOrientation)
*Sets an optional orientation for call screen of the call-composite
- Parameters:
callScreenOrientation
- CallCompositeSupportedScreenOrientation
-
setupScreenOrientation
CallCompositeBuilder setupScreenOrientation(CallCompositeSupportedScreenOrientation setupScreenOrientation)
*Sets an optional orientation for setup screen of the call-composite
- Parameters:
setupScreenOrientation
- CallCompositeSupportedScreenOrientation
-
capabilitiesChangedNotificationMode
CallCompositeBuilder capabilitiesChangedNotificationMode(CallCompositeCapabilitiesChangedNotificationMode mode)
Sets capabilities change notification mode.
- Parameters:
mode
- see CallCompositeLocalOptions
-
setupScreenOptions
@Deprecated() CallCompositeBuilder setupScreenOptions(CallCompositeSetupScreenOptions options)
-
callScreenOptions
@Deprecated() CallCompositeBuilder callScreenOptions(CallCompositeCallScreenOptions callScreenOptions)
- Parameters:
callScreenOptions
- call screen options.
-
telecomManagerOptions
CallCompositeBuilder telecomManagerOptions(CallCompositeTelecomManagerOptions telecomManagerOptions)
Sets an optional telecom manager options for call-composite to use by CallComposite.
- Parameters:
telecomManagerOptions
- CallCompositeTelecomManagerOptions.
-
displayName
CallCompositeBuilder displayName(String displayName)
Sets the display name.
- Parameters:
displayName
- display name.
-
applicationContext
CallCompositeBuilder applicationContext(Context applicationContext)
Sets the application context.
- Parameters:
applicationContext
- application context.
-
credential
CallCompositeBuilder credential(CommunicationTokenCredential credential)
Sets the credential.
- Parameters:
credential
- CommunicationTokenCredential.
-
disableInternalPushForIncomingCall
CallCompositeBuilder disableInternalPushForIncomingCall(Boolean disableInternalPushForIncomingCall)
Sets the disableInternalPushForIncomingCall.
- Parameters:
disableInternalPushForIncomingCall
- disableInternalPushForIncomingCall.
-
userId
CallCompositeBuilder userId(CommunicationIdentifier userId)
Sets the communication identifier.The identifier is used to identify the local user for CallCompositeParticipantViewData.
- Parameters:
userId
- communication identifier.
-
build
CallComposite build()
Builds the CallCompositeClass CallComposite.
-
-
-
-