initialize

fun initialize(context: Context, logWriter: LogWriter? = null)

Method to initialize the Realtime SDK. This method must be initially called before the SDK is used.

Parameters

context

The application context

logWriter

The LogWriter for the SDK logs. If not set a default LogWriter will be used to log to logcat.