-
public final class CallCompositeBuilderBuilder 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 CallCompositeBuildertheme(int themeId)Sets an optional theme for call-composite to use by CallComposite. CallCompositeBuilderlocalization(CallCompositeLocalizationOptions localization)Sets an optional localization for call-composite to use by CallComposite. CallCompositeBuildermultitasking(CallCompositeMultitaskingOptions options)*While on the call, user can go back to previous activity from the call composite. CallCompositeBuildercallScreenOrientation(CallCompositeSupportedScreenOrientation callScreenOrientation)*Sets an optional orientation for call screen of the call-composite CallCompositeBuildersetupScreenOrientation(CallCompositeSupportedScreenOrientation setupScreenOrientation)*Sets an optional orientation for setup screen of the call-composite CallCompositeBuildercapabilitiesChangedNotificationMode(CallCompositeCapabilitiesChangedNotificationMode mode)Sets capabilities change notification mode. CallCompositeBuildersetupScreenOptions(CallCompositeSetupScreenOptions options)CallCompositeBuildercallScreenOptions(CallCompositeCallScreenOptions callScreenOptions)CallCompositeBuildertelecomManagerOptions(CallCompositeTelecomManagerOptions telecomManagerOptions)Sets an optional telecom manager options for call-composite to use by CallComposite. CallCompositeBuilderdisplayName(String displayName)Sets the display name. CallCompositeBuilderapplicationContext(Context applicationContext)Sets the application context. CallCompositeBuildercredential(CommunicationTokenCredential credential)Sets the credential. CallCompositeBuilderdisableInternalPushForIncomingCall(Boolean disableInternalPushForIncomingCall)Sets the disableInternalPushForIncomingCall. CallCompositeBuilderuserId(CommunicationIdentifier userId)Sets the communication identifier. CallCompositebuild()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.
-
-
-
-