public class AHNotification
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
AHNotification.Builder |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<AHNotification> |
CREATOR |
static int |
NOTIFICATION_SIZE_DEFAULT |
| Constructor and Description |
|---|
AHNotification() |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static java.util.List<AHNotification> |
generateEmptyList(int size) |
int |
getBackgroundColor() |
java.lang.String |
getReadableText() |
int |
getSize() |
int |
getTextColor() |
boolean |
hasText() |
boolean |
hasValue() |
boolean |
isDot() |
boolean |
isEmpty() |
static AHNotification |
justText(java.lang.String text) |
void |
setAnimate(boolean animate) |
void |
setSize(int size) |
boolean |
shouldAnimate() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final int NOTIFICATION_SIZE_DEFAULT
public static final android.os.Parcelable.Creator<AHNotification> CREATOR
public boolean isEmpty()
public boolean hasValue()
public boolean isDot()
public java.lang.String getReadableText()
public int getTextColor()
public int getBackgroundColor()
public int getSize()
public void setSize(int size)
public void setAnimate(boolean animate)
public boolean shouldAnimate()
public static AHNotification justText(java.lang.String text)
public static java.util.List<AHNotification> generateEmptyList(int size)
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic boolean hasText()