public class UnbluNotificationApi
extends java.lang.Object
App state | New Message | Incoming Call |
---|---|---|
background | show notification | show notification |
foreground unblu UI closed | show notification | Trigger IUnbluUiEventApi.UiVisibilityRequest |
foreground unblu UI open | Does nothing | Does nothing |
IUnbluUiEventApi.UiVisibilityRequest
is triggered.Modifier and Type | Method and Description |
---|---|
static boolean |
isUnbluNotification(android.content.Intent activityIntent)
Checks if the intent with its data of a notification belongs to an unblu notification or not
|
static boolean |
isUnbluNotification(java.util.Map<java.lang.String,java.lang.String> notificationData)
Checks if the data of a notification belong to an unblu notification or not
|
public static boolean isUnbluNotification(java.util.Map<java.lang.String,java.lang.String> notificationData)
notificationData
- The data of the notificationpublic static boolean isUnbluNotification(@Nullable android.content.Intent activityIntent)
activityIntent
- The intent by which the activity was started.