invoke

@JvmName(name = "getDefault")
operator fun invoke(context: Context, config: SocketFactoryConfiguration, logger: Logger = LoggerNoop): ChatBuilder

Returns an instance of ChatBuilder with Android specific parameters.

Parameters

context

The Context used for persistent storage of values by the SDK.

config

SocketFactoryConfiguration connection configuration of the chat.

logger

Logger which will be used by the builder and the SDK, default is no-op implementation.

See also