class Teak.UserConfiguration

Attributes

Name Type Description

email

final String

Email address.

facebookId

final String

Facebook Id.

optOutFacebook

final boolean

Opt out of collecting a Facebook Access Token for this specific user.

optOutIDFA

final boolean

Opt out of collecting an IDFA for this specific user.

optOutPushKey

final boolean

Opt out of collecting a Push Key for this specific user.

Methods

UserConfiguration

UserConfiguration with no email, no facebook id, and no opt outs.

 UserConfiguration();

UserConfiguration

UserConfiguration specifying email.

 UserConfiguration(final String email);

Parameters

Name Description

email

Email address for the user.

UserConfiguration

UserConfiguration specifying email and Facebook Id.

 UserConfiguration(final String email,
                   final String facebookId);

Parameters

Name Description

email

Email address for the user.

facebookId

Facebook Id for the user.

UserConfiguration

UserConfiguration.

 UserConfiguration(final String email,
                   final String facebookId,
                   final boolean optOutFacebook,
                   final boolean optOutIDFA,
                   final boolean optOutPushKey);

Parameters

Name Description

email

Email address for the user.

facebookId

Facebook Id for the user.

optOutFacebook

optOutIDFA

true if the user should be opted out of IDFA collection.

optOutPushKey

true if the user should be opted out of push key collection.