Package com.flurry.android
Class FlurryAgent.UserProperties
java.lang.Object
com.flurry.android.FlurryAgent.UserProperties
- Enclosing class:
- FlurryAgent
User Properties class for FlurryAgent.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Extend any property, even no previous property.static void
Extend any property, even no previous property.static void
Exactly set, or replace if any previously exists, any state for the property to a single true state.static void
Exactly set, or replace if any previously exists, any state for the property to be empty.static void
Reduce any property.static void
Reduce any property.static void
Exactly set, or replace if any previously exists, any state for the property.static void
Exactly set, or replace if any previously exists, any state for the property.
-
Field Details
-
PROPERTY_CURRENCY_PREFERENCE
Standard User Property: Currency Preference. Follow ISO 4217: https://en.wikipedia.org/wiki/ISO_4217 E.g., "USD", "EUR", "JPY", "CNY", ...- See Also:
-
PROPERTY_PURCHASER
Standard User Property: Purchaser. E.g., "true" or "false"- See Also:
-
PROPERTY_REGISTERED_USER
Standard User Property: Registered user. E.g., "true" or "false"- See Also:
-
PROPERTY_SUBSCRIBER
Standard User Property: Subscriber. E.g., "true" or "false"- See Also:
-
-
Constructor Details
-
UserProperties
public UserProperties()
-
-
Method Details
-
set
Exactly set, or replace if any previously exists, any state for the property. null clears the property state.- Parameters:
propertyName
- property namepropertyValue
- single property value
-
set
Exactly set, or replace if any previously exists, any state for the property. Empty list or null clears the property state.- Parameters:
propertyName
- property namepropertyValues
- list of property values
-
add
Extend any property, even no previous property. Adding values already included in the state has no effect and does not error.- Parameters:
propertyName
- property namepropertyValue
- single property value
-
add
Extend any property, even no previous property. Adding values already included in the state has no effect and does not error.- Parameters:
propertyName
- property namepropertyValues
- list of property values
-
remove
Reduce any property. Removing values not already included in the state has no effect and does not error- Parameters:
propertyName
- roperty namepropertyValue
- single property value
-
remove
Reduce any property. Removing values not already included in the state has no effect and does not error- Parameters:
propertyName
- property namepropertyValues
- list of property values
-
remove
Exactly set, or replace if any previously exists, any state for the property to be empty.- Parameters:
propertyName
- property name
-
flag
Exactly set, or replace if any previously exists, any state for the property to a single true state. Implies that value is boolean and should only be flagged and cleared.- Parameters:
propertyName
- property name
-