# ClientFactory

object ClientFactory

## Functions

bindConfiguration
Link copied to clipboard
fun bindConfiguration(configuration: SDKConfiguration): ClientFactory
bindContext
Link copied to clipboard
fun bindContext(context: Context): ClientFactory

Bind context to allow SDK operate with services, Use only Application::getApplicationContext

bindEventObserver
Link copied to clipboard
fun bindEventObserver(observer: EventObserver): ClientFactory
bindInterceptor
Link copied to clipboard
fun bindInterceptor(interceptor: ClientInterceptor): ClientFactory

Bind your ClientInterceptor

bindProtocolConfiguration
Link copied to clipboard
fun bindProtocolConfiguration(protocolConfiguration: Protocol<out RawMessage, DomainMessage>): ClientFactory

Retailer protocol constants which would be used during messaging

build
Link copied to clipboard
fun build(): <Error class: unknown class>
create
Link copied to clipboard
fun create(): <Error class: unknown class>
new
Link copied to clipboard
fun new(): ClientFactory

protocols supports multiple instances of protocol configuration in order to create new instance of a Client you've got to call new then bind new protocol configuration, modify rest of parameters or proceed to create directly if you'd like to keep old instances