Package com.mixpanel.android.mpmetrics
Class MiniInAppNotification
- java.lang.Object
-
- com.mixpanel.android.mpmetrics.InAppNotification
-
- com.mixpanel.android.mpmetrics.MiniInAppNotification
-
- All Implemented Interfaces:
android.os.Parcelable
public class MiniInAppNotification extends InAppNotification
Represents a mini in-app notification delivered from Mixpanel. Under ordinary circumstances, most code won't have to interact with this class directly, but rather will display InAppNotifications usingMixpanelAPI.People.showNotificationIfAvailable(Activity)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.mixpanel.android.mpmetrics.InAppNotification
InAppNotification.Type
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<MiniInAppNotification>
CREATOR
-
Fields inherited from class com.mixpanel.android.mpmetrics.InAppNotification
mDescription, mExtras, mId, mMessageId
-
-
Constructor Summary
Constructors Constructor Description MiniInAppNotification(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBorderColor()
java.lang.String
getCtaUrl()
int
getImageTintColor()
InAppNotification.Type
getType()
void
writeToParcel(android.os.Parcel dest, int flags)
-
Methods inherited from class com.mixpanel.android.mpmetrics.InAppNotification
describeContents, getBackgroundColor, getBody, getBodyColor, getExtras, getId, getImage, getImage2xUrl, getImage4xUrl, getImageUrl, getMessageId, hasBody, isEventTriggered, matchesEventDescription, toString
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<MiniInAppNotification> CREATOR
-
-
Method Detail
-
getCtaUrl
public java.lang.String getCtaUrl()
-
getImageTintColor
public int getImageTintColor()
-
getBorderColor
public int getBorderColor()
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classInAppNotification
-
getType
public InAppNotification.Type getType()
- Specified by:
getType
in classInAppNotification
-
-