-
public final class DialerConfiguration.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private booleanisDebugModeprivate booleanisEmailSubscriptionEnabled
-
Method Summary
-
-
Method Detail
-
isDebugMode
DialerConfiguration.Builder isDebugMode(boolean isDebugMode)
-
isEmailSubscriptionEnabled
DialerConfiguration.Builder isEmailSubscriptionEnabled(boolean isEmailSubscriptionEnabled)
-
withAppName
DialerConfiguration.Builder withAppName(String appName)
-
withAppVersion
DialerConfiguration.Builder withAppVersion(String appVersion)
-
withMediaDownloadPath
DialerConfiguration.Builder withMediaDownloadPath(String filePath)
-
withVersionCode
DialerConfiguration.Builder withVersionCode(int versionCode)
-
withDynamicDataHook
DialerConfiguration.Builder withDynamicDataHook(DynamicDataHook dynamicDataHook)
-
withGcmRegistrationId
DialerConfiguration.Builder withGcmRegistrationId(String gcmRegistrationId)
-
withGcmRegistrationType
DialerConfiguration.Builder withGcmRegistrationType(String gcmRegistrationType)
-
build
DialerConfiguration build()
-
buildSingleToneConfiguration
DialerConfiguration buildSingleToneConfiguration()
-
withDatabaseHook
DialerConfiguration.Builder withDatabaseHook(DatabaseHook databaseHook)
withDatabaseHook() you have to set this callback interface so that sdk can communicatewith frontend to perform database or other persistence related information. sdk can usethis for both getting and setting data to and from frontend.
- Parameters:
databaseHook- : com.revesoft.itelmobiledialer.signalling.signalListeners.DatabaseHook
-
withDialerType
DialerConfiguration.Builder withDialerType(DialerType dialerType)
-
withAppUsersType
DialerConfiguration.Builder withAppUsersType(AppUsersType usersType)
-
withIsDebugMode
DialerConfiguration.Builder withIsDebugMode(boolean isDebugMode)
-
withWriteLogsTofileOn
DialerConfiguration.Builder withWriteLogsTofileOn(boolean writeLogsTofile)
-
withSendAudioCodecInMediaPacket
DialerConfiguration.Builder withSendAudioCodecInMediaPacket(boolean sendAudioCodecInMediaPacket)
-
withIsAutoSignUpEncryptionEnable
DialerConfiguration.Builder withIsAutoSignUpEncryptionEnable(boolean isAutoSignUpEncryptionEnable)
-
withDefaultCodecCode
DialerConfiguration.Builder withDefaultCodecCode(int defaultCodecCode)
-
withSendMultipleCodecsForCall
@Deprecated() DialerConfiguration.Builder withSendMultipleCodecsForCall(boolean sendMultipleCodecsForCall)
*This method is deprecated. you no not need to use it. It is not being used in backendany more. backend will send codecs from supported coedcs list.
-
withSend404FroMessageForBlockedContacts
DialerConfiguration.Builder withSend404FroMessageForBlockedContacts(boolean send404FroMessageForBlockedContacts)
-
withSendDisplayNameForFreeCall
DialerConfiguration.Builder withSendDisplayNameForFreeCall(boolean sendDisplayNameForFreeCall)
-
withSendCallerIDForRegistration
DialerConfiguration.Builder withSendCallerIDForRegistration(boolean sendCallerIDForRegistration)
-
withSendPersistentDeviceID
DialerConfiguration.Builder withSendPersistentDeviceID(boolean sendPersistentDeviceID)
-
withOperatorCode
DialerConfiguration.Builder withOperatorCode(String operatorCode)
-
withIsIMHistorySyncEnabled
DialerConfiguration.Builder withIsIMHistorySyncEnabled(boolean isIMHistorySyncEnabled)
-
withIsIMHistoryFetchEnabled
DialerConfiguration.Builder withIsIMHistoryFetchEnabled(boolean isIMHistoryFetchEnabled)
-
appName
DialerConfiguration.Builder appName(String appName)
-
versionCode
DialerConfiguration.Builder versionCode(int versionCode)
-
dynamicDataHook
DialerConfiguration.Builder dynamicDataHook(DynamicDataHook dynamicDataHook)
-
databaseHook
DialerConfiguration.Builder databaseHook(DatabaseHook databaseHook)
-
dialerType
DialerConfiguration.Builder dialerType(DialerType dialerType)
-
gcmRegistrationId
DialerConfiguration.Builder gcmRegistrationId(String gcmRegistrationId)
-
withAlwaysCancelEcho
DialerConfiguration.Builder withAlwaysCancelEcho(boolean alwaysCancelEcho)
-
withSubscriptionType
DialerConfiguration.Builder withSubscriptionType(SubscriptionType subscriptionType)
-
withSubscriptionTransportType
DialerConfiguration.Builder withSubscriptionTransportType(TransportType subscriptionTransportType)
-
withCallMergeTransportType
DialerConfiguration.Builder withCallMergeTransportType(TransportType callMergeTransportType)
-
withImTransportType
DialerConfiguration.Builder withImTransportType(TransportType imTransportType)
-
withSendTCPProvisioning
DialerConfiguration.Builder withSendTCPProvisioning(boolean sendTCPProvisioning)
-
withStartAudioRecordForVideoCall
DialerConfiguration.Builder withStartAudioRecordForVideoCall(boolean startAudioRecordForVideoCall)
-
withSendByeDuringAppClosing
DialerConfiguration.Builder withSendByeDuringAppClosing(boolean sendByeDuringAppClosing)
-
withOpusBitRate
DialerConfiguration.Builder withOpusBitRate(int bitRate)
-
withOpusFECEnabled
DialerConfiguration.Builder withOpusFECEnabled(boolean opusFECEnabled)
-
withSendNotificationForTransferCall
DialerConfiguration.Builder withSendNotificationForTransferCall(boolean sendNotificationForTransferCall)
-
withSendNotificationForConferenceCall
DialerConfiguration.Builder withSendNotificationForConferenceCall(boolean sendNotificationForConferenceCall)
-
withUseCustomSampleRateForOPUS
DialerConfiguration.Builder withUseCustomSampleRateForOPUS(boolean useCustomSampleRateForOPUS)
-
withPlayLocalRBTForFreeCall
@Deprecated() DialerConfiguration.Builder withPlayLocalRBTForFreeCall(boolean playLocalRBTForFreeCall)
this method is deprecated. Please use withSend180RingingForIncomingCall() instead
- Parameters:
playLocalRBTForFreeCall- value true/false
-
withSend180RingingForIncomingCall
DialerConfiguration.Builder withSend180RingingForIncomingCall(boolean send180RingingForIncomingCall)
-
withSupportedAudioCodecsToSendInInviteForFreeCall
DialerConfiguration.Builder withSupportedAudioCodecsToSendInInviteForFreeCall(Array<CallConstants.AudioCodecs> supportedAudioCodecsToSendInInviteForFreeCall)
-
withSupportedAudioCodecsToSendInInviteForPaidCall
DialerConfiguration.Builder withSupportedAudioCodecsToSendInInviteForPaidCall(Array<CallConstants.AudioCodecs> supportedAudioCodecsToSendInInviteForPaidCall)
-
withSupportedAudioCodecsForIncomingCall
DialerConfiguration.Builder withSupportedAudioCodecsForIncomingCall(Array<CallConstants.AudioCodecs> supportedAudioCodecsForIncomingCall)
-
withCustomAudioSampleRateForOPUS
DialerConfiguration.Builder withCustomAudioSampleRateForOPUS(CallConstants.AudioSampleRate customAudioSampleRateForOPUS)
-
withNetworkCheckingEnabled
DialerConfiguration.Builder withNetworkCheckingEnabled(boolean networkCheckingEnabled)
-
withSendPaidCallAudioPacketsAtCalculatedInterval
DialerConfiguration.Builder withSendPaidCallAudioPacketsAtCalculatedInterval(boolean sendPaidCallAudioPacketsAtCalculatedInterval)
-
withAddSilverPrefixToOpcode
DialerConfiguration.Builder withAddSilverPrefixToOpcode(boolean addSilverPrefixToOpcode)
-
withSendPushUrlInRegistration
DialerConfiguration.Builder withSendPushUrlInRegistration(int sendPushUrlInRegistration)
*
- Parameters:
sendPushUrlInRegistration- value should be -1, 0, 1-1 means not set.
-
withUseVerificationServerAddressAsAutosignupAddress
DialerConfiguration.Builder withUseVerificationServerAddressAsAutosignupAddress(boolean useVerificationServerAddressAsAutosignupAddress)
-
withOpusOutgoingFramePerPacket
DialerConfiguration.Builder withOpusOutgoingFramePerPacket(int framePerPacket)
withOpusOutgoingFramePerPacket() returns the fixed frame per packet used for opus encodinghere if we use zero or a negative value, outgoing framePerPacket from Provisioning will beused otherwise it will use provided value.
- Parameters:
framePerPacket- : allowed values negative, 0, 2, 4, 6
-
withUseOldOPUSImplementation
DialerConfiguration.Builder withUseOldOPUSImplementation(boolean useOldOPUSImplementation)
-
withUseDifferentThreadForPlayingDecodedMedia
DialerConfiguration.Builder withUseDifferentThreadForPlayingDecodedMedia(boolean useDifferentThreadForPlayingDecodedMedia)
-
withGpsCheckingEnabled
DialerConfiguration.Builder withGpsCheckingEnabled(boolean gpsCheckingEnabled)
-
withRtcpNackTimeout
DialerConfiguration.Builder withRtcpNackTimeout(int rtcpNackTimeout)
-
withEnableSilencePacketIgnoreToAdjustDelay
DialerConfiguration.Builder withEnableSilencePacketIgnoreToAdjustDelay(boolean enableSilencePacketIgnoreToAdjustDelay)
-
withSdkDebugConfig
DialerConfiguration.Builder withSdkDebugConfig(SDKDebugConfig sdkDebugConfig)
-
withSendRegistrationAutomaticallyAtStart
DialerConfiguration.Builder withSendRegistrationAutomaticallyAtStart(boolean sendRegistrationAutomaticallyAtStart)
-
withSendIMEIWithAllSIPMessage
DialerConfiguration.Builder withSendIMEIWithAllSIPMessage(boolean sendIMEIWithAllSIPMessage)
-
withUseTCPforAutoSignup
DialerConfiguration.Builder withUseTCPforAutoSignup(boolean useTCPforAutoSignup)
-
withCapturedAudioProcessingConfig
DialerConfiguration.Builder withCapturedAudioProcessingConfig(CapturedAudioProcessingConfig capturedAudioProcessingConfig)
-
withReceivedAudioProcessingConfig
DialerConfiguration.Builder withReceivedAudioProcessingConfig(ReceivedAudioProcessingConfig receivedAudioProcessingConfig)
-
withRecordConfiguration
DialerConfiguration.Builder withRecordConfiguration(RecorderConfiguration recordConfiguration)
-
-
-
-