setBirthDate

fun setBirthDate(context: Context, birthDate: Date)

Helper method to set User's Birth Date.

Since

12.0.00

Parameters

birthDate

BirthDate value passed by user


fun setBirthDate(context: Context, birthDate: Date, appId: String)

Helper method to set User BirthDate

Since

12.0.00

Parameters

birthDate

BirthDate value passed by user

appId

Account identifier, APP ID on the MoEngage Dashboard.


fun setBirthDate(context: Context, isoDate: String)

Helper method to set user's Birth Date. Supported format - yyyy-MM-dd|yyyyMMdd[T(hh:mm[:ss.sss]|hhmm[ss.sss])]?[Z|+-hh:mm]]

Since

12.0.00

Parameters

context

Instance of Context

isoDate

Birth date in ISO8601 format.


fun setBirthDate(context: Context, isoDate: String, appId: String)

Helper method to set user's Birth Date. Supported format - yyyy-MM-dd|yyyyMMdd[T(hh:mm[:ss.sss]|hhmm[ss.sss])]?[Z|+-hh:mm]]

Since

12.0.00

Parameters

context

Instance of Context

isoDate

Birth date in ISO8601 format.

appId

Account identifier, APP ID on the MoEngage Dashboard.