public class InAppMessageUserJavascriptInterface
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JS_BRIDGE_ATTRIBUTE_VALUE |
static java.lang.String |
JS_BRIDGE_GENDER_FEMALE |
static java.lang.String |
JS_BRIDGE_GENDER_MALE |
static java.lang.String |
JS_BRIDGE_GENDER_NOT_APPLICABLE |
static java.lang.String |
JS_BRIDGE_GENDER_OTHER |
static java.lang.String |
JS_BRIDGE_GENDER_PREFER_NOT_TO_SAY |
static java.lang.String |
JS_BRIDGE_GENDER_UNKNOWN |
static java.lang.String |
JS_BRIDGE_OPTED_IN |
static java.lang.String |
JS_BRIDGE_SUBSCRIBED |
static java.lang.String |
JS_BRIDGE_UNSUBSCRIBED |
Constructor and Description |
---|
InAppMessageUserJavascriptInterface(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addAlias(java.lang.String alias,
java.lang.String label) |
void |
addToCustomAttributeArray(java.lang.String key,
java.lang.String value) |
void |
addToSubscriptionGroup(java.lang.String subscriptionGroupId) |
void |
incrementCustomUserAttribute(java.lang.String attribute) |
void |
removeFromCustomAttributeArray(java.lang.String key,
java.lang.String value) |
void |
removeFromSubscriptionGroup(java.lang.String subscriptionGroupId) |
void |
setCountry(java.lang.String country) |
void |
setCustomLocationAttribute(java.lang.String attribute,
double latitude,
double longitude) |
void |
setCustomUserAttributeArray(java.lang.String key,
java.lang.String jsonArrayString) |
void |
setCustomUserAttributeJSON(java.lang.String key,
java.lang.String jsonStringValue) |
void |
setDateOfBirth(int year,
int monthInt,
int day) |
void |
setEmail(java.lang.String email) |
void |
setEmailNotificationSubscriptionType(java.lang.String subscriptionType) |
void |
setFirstName(java.lang.String firstName) |
void |
setGender(java.lang.String genderString) |
void |
setHomeCity(java.lang.String homeCity) |
void |
setLanguage(java.lang.String language) |
void |
setLastName(java.lang.String lastName) |
void |
setPhoneNumber(java.lang.String phoneNumber) |
void |
setPushNotificationSubscriptionType(java.lang.String subscriptionType) |
public static final java.lang.String JS_BRIDGE_UNSUBSCRIBED
public static final java.lang.String JS_BRIDGE_SUBSCRIBED
public static final java.lang.String JS_BRIDGE_OPTED_IN
public static final java.lang.String JS_BRIDGE_GENDER_MALE
public static final java.lang.String JS_BRIDGE_GENDER_FEMALE
public static final java.lang.String JS_BRIDGE_GENDER_OTHER
public static final java.lang.String JS_BRIDGE_GENDER_UNKNOWN
public static final java.lang.String JS_BRIDGE_GENDER_NOT_APPLICABLE
public static final java.lang.String JS_BRIDGE_GENDER_PREFER_NOT_TO_SAY
public static final java.lang.String JS_BRIDGE_ATTRIBUTE_VALUE
public InAppMessageUserJavascriptInterface(android.content.Context context)
public void setFirstName(java.lang.String firstName)
public void setLastName(java.lang.String lastName)
public void setEmail(java.lang.String email)
public void setGender(java.lang.String genderString)
public void setDateOfBirth(int year, int monthInt, int day)
public void setCountry(java.lang.String country)
public void setLanguage(java.lang.String language)
public void setHomeCity(java.lang.String homeCity)
public void setEmailNotificationSubscriptionType(java.lang.String subscriptionType)
public void setPushNotificationSubscriptionType(java.lang.String subscriptionType)
public void setPhoneNumber(java.lang.String phoneNumber)
public void setCustomUserAttributeJSON(java.lang.String key, java.lang.String jsonStringValue)
public void setCustomUserAttributeArray(java.lang.String key, java.lang.String jsonArrayString)
public void addToCustomAttributeArray(java.lang.String key, java.lang.String value)
public void removeFromCustomAttributeArray(java.lang.String key, java.lang.String value)
public void incrementCustomUserAttribute(java.lang.String attribute)
public void setCustomLocationAttribute(java.lang.String attribute, double latitude, double longitude)
public void addAlias(java.lang.String alias, java.lang.String label)
public void addToSubscriptionGroup(java.lang.String subscriptionGroupId)
public void removeFromSubscriptionGroup(java.lang.String subscriptionGroupId)