Speedify SDK for Android
15.0.0
|
Helper class for displaying notifications.
Classes | |
interface | BuilderHelper |
class | Options |
Parameters for draining a notification. More... | |
Static Public Member Functions | |
static void | setVibePattern (long[] pattern) |
Set vibration pattern to be used. More... | |
static void | setLauncherClass (Class activityToLaunch) |
Set activity class to launch when clicking on notifications. More... | |
static void | setDefaultIcon (int iconId) |
Set defalt icon used in notifications from this class. More... | |
static void | createNotification (Context context, String notificationChannel, int notificationId, String title) |
Create a notification. More... | |
static void | createNotification (Context context, String notificationChannel, int notificationId, String title, String message) |
Create a notification. More... | |
static void | createNotification (Context context, String notificationChannel, int notificationId, String title, String message, String subtext) |
Create a notification. More... | |
static void | createNotification (Context context, String notificationChannel, int notificationId, String title, String message, String subtext, BuilderHelper nbh) |
Create a notification. More... | |
static void | createBackgroundActivityNotification (Context context, String notificationChannel, int notificationId, String title, String message, PendingIntent pendingIntent) |
Create a fullscreen notification from the background. More... | |
static void | createNotification (Context context, Options options) |
Create a notification. More... | |
static void | createBackgroundActivityNotification (Context context, Options options) |
Create a fullscreen notification from the background. More... | |
static void | clear (Context context, int notificationId) |
Clear a notification. More... | |
static void | clear (Context context, String notificationTag, int notificationId) |
Clear a notification. More... | |
|
static |
Clear a notification.
context | context used to launch notification |
notificationId | unique identifier for the notification to clear |
|
static |
Clear a notification.
context | context used to launch notification |
notificationTag | tag for the notification to clear |
notificationId | unique identifier for the notification to clear |
|
static |
Create a fullscreen notification from the background.
context | context used to launch notification |
notificationChannel | channel group for this notification |
notificationId | unique identifier for this notification |
title | notification title |
message | notification message |
pendingIntent | intent this fullscreen notification should launch |
|
static |
Create a fullscreen notification from the background.
context | context used to launch notification |
options | notification options |
|
static |
Create a notification.
context | context used to launch notification |
notificationChannel | channel group for this notification |
notificationId | unique identifier for this notification |
title | notification title |
|
static |
Create a notification.
context | context used to launch notification |
notificationChannel | channel group for this notification |
notificationId | unique identifier for this notification |
title | notification title |
message | notification message |
|
static |
Create a notification.
context | context used to launch notification |
notificationChannel | channel group for this notification |
notificationId | unique identifier for this notification |
title | notification title |
message | notification message |
subtext | notification subtext |
|
static |
Create a notification.
context | context used to launch notification |
notificationChannel | channel group for this notification |
notificationId | unique identifier for this notification |
title | notification title |
message | notification message |
subtext | notification subtext |
nbh | handler providing access to the base NotificationCompat.Builder object for further customization |
|
static |
Create a notification.
context | context used to launch notification |
options | notification options |
|
static |
Set defalt icon used in notifications from this class.
iconId | resource id of icon to use |
|
static |
Set activity class to launch when clicking on notifications.
Null to disable.
activityToLaunch | actvity class to launch |
|
static |
Set vibration pattern to be used.
A null or empty array disabled vibration.
pattern | vibration pattern |