Builder

class Builder : ProguardKeep(source)

Builder class for SdkConfig.

Provides a fluent API to set various properties for the SdkConfig and then build it.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Constructs the SdkConfig based on the provided properties.

Link copied to clipboard
@ObjCName(name = "enableDebugHttpLogs")
fun debugHttpLogs(@ObjCName(name = "_") enable: Boolean): SdkConfig.Builder

Enables or disables HTTP debug logging.

Link copied to clipboard
@ObjCName(name = "enableDebugLogs")
fun debugLogs(@ObjCName(name = "_") enable: Boolean): SdkConfig.Builder

Enables or disables debug logging.

Link copied to clipboard
@ObjCName(name = "enableLogParser")
fun logParser(@ObjCName(name = "_") enable: Boolean): SdkConfig.Builder

Enables the com.sipfront.sdk.log.parser.LogParser to automatically parse and SIP/SDP messages from logs.

Link copied to clipboard
fun trustAllCerts(@ObjCName(name = "_") trustAllCerts: Boolean): SdkConfig.Builder

Sets the library to trust all certificates in HTTP requests.