Package com.flurry.android
Class FlurryEvent.Params
java.lang.Object
com.flurry.android.FlurryEvent.Params
- Enclosing class:
- FlurryEvent
The parameters map object for logging the standard events.
-
Constructor Summary
ConstructorsConstructorDescriptionParams()Create a parameters map object for logging the standard events.Params(FlurryEvent.Params parameters) Create a parameters map object for logging the standard events. -
Method Summary
Modifier and TypeMethodDescriptionclear()Clear the parameters.Get the map object of the parameters.putAll(FlurryEvent.Params parameters) Copies all of the parameters from the specified map to this map.putBoolean(FlurryEvent.BooleanParam param, boolean value) Put a new parameter with the format of { FlurryEvent.Param, Boolean }.putBoolean(String key, boolean value) Put a new parameter with the format of { String, Boolean }.putDouble(FlurryEvent.DoubleParam param, double value) Put a new parameter with the format of { FlurryEvent.Param, Double }.Put a new parameter with the format of { String, Double }.putInteger(FlurryEvent.IntegerParam param, int value) Put a new parameter with the format of { FlurryEvent.Param, Integer }.putInteger(String key, int value) Put a new parameter with the format of { String, Integer }.putLong(FlurryEvent.IntegerParam param, long value) Put a new parameter with the format of { FlurryEvent.Param, Long }.Put a new parameter with the format of { String, Long }.putString(FlurryEvent.StringParam param, String value) Put a new parameter with the format of { FlurryEvent.Param, String }.Put a new parameter with the format of { String, String }.remove(FlurryEvent.ParamBase param) Removes the parameter for a key if it is present.Removes the parameter for a key if it is present.
-
Constructor Details
-
Params
public Params()Create a parameters map object for logging the standard events. -
Params
Create a parameters map object for logging the standard events. And copies all of the parameters from the specified map to this map.- Parameters:
parameters- parameters to be stored in this map
-
-
Method Details
-
getParams
Get the map object of the parameters.- Returns:
- the map object of the parameters.
-
clear
Clear the parameters.- Returns:
- The Params instance.
-
remove
Removes the parameter for a key if it is present.- Parameters:
param- key whose mapping is to be removed- Returns:
- The Params instance.
-
remove
Removes the parameter for a key if it is present.- Parameters:
key- key whose mapping is to be removed- Returns:
- The Params instance.
-
putAll
Copies all of the parameters from the specified map to this map.- Parameters:
parameters- parameters to be stored in this map- Returns:
- The Params instance.
-
putString
Put a new parameter with the format of { FlurryEvent.Param, String }.- Parameters:
param- the enum of the FlurryEvent.Param.value- the value of the parameter.- Returns:
- The Params instance.
-
putString
Put a new parameter with the format of { String, String }.- Parameters:
key- provides the user defined key.value- the value of the parameter.- Returns:
- The Params instance.
-
putInteger
Put a new parameter with the format of { FlurryEvent.Param, Integer }.- Parameters:
param- the enum of the FlurryEvent.Param.value- the value of the parameter.- Returns:
- The Params instance.
-
putInteger
Put a new parameter with the format of { String, Integer }.- Parameters:
key- provides the user defined key.value- the value of the parameter.- Returns:
- The Params instance.
-
putLong
Put a new parameter with the format of { FlurryEvent.Param, Long }.- Parameters:
param- the enum of the FlurryEvent.Param.value- the value of the parameter.- Returns:
- The Params instance.
-
putLong
Put a new parameter with the format of { String, Long }.- Parameters:
key- provides the user defined key.value- the value of the parameter.- Returns:
- The Params instance.
-
putDouble
Put a new parameter with the format of { FlurryEvent.Param, Double }.- Parameters:
param- the enum of the FlurryEvent.Param.value- the value of the parameter.- Returns:
- The Params instance.
-
putDouble
Put a new parameter with the format of { String, Double }.- Parameters:
key- provides the user defined key.value- the value of the parameter.- Returns:
- The Params instance.
-
putBoolean
Put a new parameter with the format of { FlurryEvent.Param, Boolean }.- Parameters:
param- the enum of the FlurryEvent.Param.value- the value of the parameter.- Returns:
- The Params instance.
-
putBoolean
Put a new parameter with the format of { String, Boolean }.- Parameters:
key- provides the user defined key.value- the value of the parameter.- Returns:
- The Params instance.
-