Class TakeoverInAppNotification

  • All Implemented Interfaces:
    android.os.Parcelable

    public class TakeoverInAppNotification
    extends InAppNotification
    Represents a takeover 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 using MixpanelAPI.People.showNotificationIfAvailable(Activity)
    • Constructor Detail

      • TakeoverInAppNotification

        public TakeoverInAppNotification​(android.os.Parcel in)
    • Method Detail

      • hasTitle

        public boolean hasTitle()
      • getTitle

        public java.lang.String getTitle()
      • getTitleColor

        public int getTitleColor()
      • getCloseColor

        public int getCloseColor()
      • getButton

        public InAppButton getButton​(int index)
      • getNumButtons

        public int getNumButtons()
      • setShouldShowShadow

        public boolean setShouldShowShadow()
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable
        Overrides:
        writeToParcel in class InAppNotification