public final class TooleapNotificationMiniApp extends TooleapMiniApp
A class that represents a Notification Mini-App.
Notification Mini-Apps have the following properties by default:
TooleapPopOutMiniApp,
TooleapPersistentMiniApp,
TooleapMiniApp,
TooleapHomeMiniAppbubbleBackgroundColor, contentText, contentTitle, FLAG_AVAILABLE_ON_LOCK_SCREEN, FLAG_AVAILABLE_ONLY_ON_LOCK_SCREEN, FLAG_NOT_AVAILABLE_ON_LOCK_SCREEN, icon, notificationBadgeNumber, notificationSnoozeDuration, notificationText, when| Constructor and Description |
|---|
TooleapNotificationMiniApp(android.content.Context context,
java.lang.Class<?> tooleapActivityClass)
Same as calling TooleapNotificationMiniApp(context, new Intent(context, tooleapActivityClass)
|
TooleapNotificationMiniApp(android.content.Context context,
android.content.Intent contentIntent)
Constructor
|
TooleapNotificationMiniApp(android.content.Context context,
java.lang.String tooleapActivityClass)
Same as calling TooleapNotificationMiniApp(context, new Intent(context, Class.forName(tooleapActivityClass))
|
getAppId, getBubbleSize, getContentIntent, getIconOpacity, getLockScreenAvailability, setBubbleSize, setContentIntent, setIcon, setIcon, setIcon, setIconOpacity, setLockScreenAvailabilitypublic TooleapNotificationMiniApp(android.content.Context context,
android.content.Intent contentIntent)
context - The application context the Mini-App should run with.contentIntent - The intent to execute when the user wants open the Mini-App. Notice: The component class should be a Tooleap Activity class.public TooleapNotificationMiniApp(android.content.Context context,
java.lang.String tooleapActivityClass)
TooleapNotificationMiniApp(android.content.Context, android.content.Intent)public TooleapNotificationMiniApp(android.content.Context context,
java.lang.Class<?> tooleapActivityClass)
TooleapNotificationMiniApp(android.content.Context, android.content.Intent)