User Settings

The UserInfo and the FYBUserInfo object allows you to pass information about the user.

Android iOS Unity
Kotlin
val calendar = Calendar.getInstance()
calendar.set(Calendar.YEAR, 1990)
calendar.set(Calendar.MONTH, Calendar.MARCH)
calendar.set(Calendar.DAY_OF_MONTH, 1)

UserInfo.birthDate = calendar.time
UserInfo.gender = Gender.FEMALE
UserInfo.postalCode = "31352"
Java
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.YEAR, 1990);
calendar.set(Calendar.MONTH, Calendar.MARCH);
calendar.set(Calendar.DAY_OF_MONTH, 01);
UserInfo.setBirthDate(calendar.getTime());
UserInfo.setGender(Gender.FEMALE);
UserInfo.setPostalCode("31352");

Back to Top ⇧