java.lang.Object | |
↳ | com.urbanairship.channel.AttributeEditor |
Interface used for modifying attributes.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
apply()
Apply the attribute changes.
| ||||||||||
AttributeEditor |
removeAttribute(String key)
Removes an attribute.
| ||||||||||
AttributeEditor |
setAttribute(String key, String string)
Sets a string attribute.
| ||||||||||
AttributeEditor |
setAttribute(String key, Date date)
Sets a date attribute.
| ||||||||||
AttributeEditor |
setAttribute(String key, float number)
Sets a float number attribute.
| ||||||||||
AttributeEditor |
setAttribute(String key, long number)
Sets a long number attribute.
| ||||||||||
AttributeEditor |
setAttribute(String key, int number)
Sets an integer number attribute.
| ||||||||||
AttributeEditor |
setAttribute(String key, double number)
Sets a double number attribute.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Apply the attribute changes.
Removes an attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|
Sets a string attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|---|
string | The attribute string greater than one character and less than 1024 characters in length. |
Sets a date attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|---|
date | The date attribute. |
Sets a float number attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|---|
number | The number attribute. |
NumberFormatException | if the number is NaN or infinite. |
---|
Sets a long number attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|---|
number | The number attribute. |
Sets an integer number attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|---|
number | The number attribute. |
Sets a double number attribute.
key | The attribute key greater than one character and less than 1024 characters in length. |
---|---|
number | The number attribute. |
NumberFormatException | if the number is NaN or infinite. |
---|