public class PromptEntity
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<PromptEntity> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
PromptEntity() |
protected |
PromptEntity(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
float |
getHeightRatio() |
int |
getThemeColor() |
int |
getTopResId() |
float |
getWidthRatio() |
boolean |
isSupportBackgroundUpdate() |
PromptEntity |
setHeightRatio(float heightRatio) |
PromptEntity |
setSupportBackgroundUpdate(boolean supportBackgroundUpdate) |
PromptEntity |
setThemeColor(int themeColor) |
PromptEntity |
setTopResId(int topResId) |
PromptEntity |
setWidthRatio(float widthRatio) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PromptEntity> CREATOR
public PromptEntity()
protected PromptEntity(android.os.Parcel in)
public int getThemeColor()
public PromptEntity setThemeColor(int themeColor)
public int getTopResId()
public PromptEntity setTopResId(int topResId)
public boolean isSupportBackgroundUpdate()
public PromptEntity setSupportBackgroundUpdate(boolean supportBackgroundUpdate)
public PromptEntity setWidthRatio(float widthRatio)
public float getWidthRatio()
public PromptEntity setHeightRatio(float heightRatio)
public float getHeightRatio()
public java.lang.String toString()
toString in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable