builder

fun builder(application: Application, appId: String, dataCenterValue: String): MoEngage.Builder

Java-friendly factory for builder. Uses the underlying String value of DataCenter (e.g. from DataCenter.getDataCenter1) to avoid the mangled constructor name that Kotlin generates when a value class appears in a constructor parameter list.

Return

A new builder instance.

Since

15.0.00

Parameters

application

Instance of Application

appId

Account identifier for MoEngage Account.

dataCenterValue

Underlying string value of the DataCenter (e.g. "dc1").