create

public final ChatInstanceProvider create(SocketFactoryConfiguration configuration, Authorization authorization, UserName userName, Boolean developmentMode, ChatInstanceProvider.DeviceTokenProvider deviceTokenProvider, Logger logger, String customerId)
public final ChatInstanceProvider create(SocketFactoryConfiguration configuration, Authorization authorization, UserName userName, Boolean developmentMode, ChatInstanceProvider.DeviceTokenProvider deviceTokenProvider, Logger logger)
public final ChatInstanceProvider create(SocketFactoryConfiguration configuration, Authorization authorization, UserName userName, Boolean developmentMode, ChatInstanceProvider.DeviceTokenProvider deviceTokenProvider)
public final ChatInstanceProvider create(SocketFactoryConfiguration configuration, Authorization authorization, UserName userName, Boolean developmentMode)
public final ChatInstanceProvider create(SocketFactoryConfiguration configuration, Authorization authorization, UserName userName)
public final ChatInstanceProvider create(SocketFactoryConfiguration configuration, Authorization authorization)

Create the ChatInstanceProvider singleton.

Return

the newly created ChatInstanceProvider singleton.

Parameters

configuration

Initial Sdk Configuration to use.

authorization

Initial authorization to use.

userName

Initial user name to use.

developmentMode

True if in development mode to get extra logging.

deviceTokenProvider

Provider of device tokens for push messages.

logger

Logger to be used by the ChatInstanceProvider and Chat.

customerId

Optional, customerId of the user.