public class SimplePushUIConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
SimplePushUIConfiguration(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getActionButtonIconIds()
Get button icon ids for interactive simple push.
|
java.lang.String |
getCategory()
Get notification category.
|
int |
getIconBackgroundColor()
Get background color for small icon if large icon is not available.
|
int |
getLedColour()
Get led color.
|
int |
getLedOffMilliseconds()
Get time period when led light will be switched off after notification was received.
|
int |
getLedOnMilliseconds()
Get time period when led light will be switched on after notification was received.
|
android.app.PendingIntent[] |
getPendingIntents()
Get PendingIntents defining actions for notification buttons.
|
int |
getPriority()
Get notification priority.
|
java.lang.String |
getPushChannelDescription()
Gets push channel description.
|
int |
getPushChannelImportance()
Gets push channel importance.
|
java.lang.String |
getPushChannelName()
Gets push channel name.
|
int |
getSmallIconId()
Small icon for system notification.
|
android.net.Uri |
getSoundUri()
Get sound for notification.
|
long[] |
getVibratePattern()
Get vibration pattern for notification.
|
int |
getVisibility()
Get notification visibility.
|
void |
setActionButtonIconIds(int[] actionButtonIconIds)
Set button icon ids for interactive simple push.
|
void |
setCategory(java.lang.String category)
Set notification category.
|
void |
setIconBackgroundColor(int iconBackgroundColor)
Set background color for small icon if large icon is not available.
|
void |
setLedColour(int ledColour)
Set colour of led light.
|
void |
setLedOffMilliseconds(int ledOffMilliseconds)
Set time period when led light will be switched off after notification was received.
|
void |
setLedOnMilliseconds(int ledOnMilliseconds)
Set time period when led light will be switched on after notification was received.
|
void |
setPendingIntents(android.app.PendingIntent first,
android.app.PendingIntent second)
Set PendingIntents defining actions for notification buttons.
|
void |
setPriority(int priority)
Set notification priority.
|
void |
setPushChannelDescription(java.lang.String pushChannelDescription)
Sets push channel description.
|
void |
setPushChannelImportance(int pushChannelImportance)
Sets push channel importance.
|
void |
setPushChannelName(java.lang.String pushChannelName)
Sets push channel name.
|
void |
setSoundUri(android.net.Uri soundUri)
Set sound for notification.
|
void |
setVibratePattern(long[] vibratePattern)
Set vibration pattern for notification.
|
void |
setVisibility(int visibility)
Set notification visibility.
|
public SimplePushUIConfiguration(android.content.Context context)
public int getSmallIconId()
public android.net.Uri getSoundUri()
public void setSoundUri(android.net.Uri soundUri)
soundUri - Sound for notification.public long[] getVibratePattern()
public void setVibratePattern(long[] vibratePattern)
vibratePattern - Vibration pattern for notification.public java.lang.String getCategory()
public void setCategory(java.lang.String category)
category - Notification category.public int getPriority()
public void setPriority(int priority)
priority - Notification priority.public int getVisibility()
public void setVisibility(int visibility)
visibility - Notification visibility.public int getIconBackgroundColor()
public void setIconBackgroundColor(int iconBackgroundColor)
iconBackgroundColor - Background color for small icon if large icon is not available.public int getLedColour()
public int getLedOnMilliseconds()
public int getLedOffMilliseconds()
public void setLedColour(int ledColour)
ledColour - Colour of led light.public void setLedOnMilliseconds(int ledOnMilliseconds)
ledOnMilliseconds - Time period when led light will be switched on after notification was received.public void setLedOffMilliseconds(int ledOffMilliseconds)
ledOffMilliseconds - Time period when led light will be switched off after notification was received.public int[] getActionButtonIconIds()
public void setActionButtonIconIds(int[] actionButtonIconIds)
actionButtonIconIds - Button icon ids.public android.app.PendingIntent[] getPendingIntents()
public void setPendingIntents(android.app.PendingIntent first,
android.app.PendingIntent second)
first - PendingIntent defining actions for notification first button.second - PendingIntent defining actions for notification second button.public java.lang.String getPushChannelName()
public java.lang.String getPushChannelDescription()
public void setPushChannelName(java.lang.String pushChannelName)
pushChannelName - Push channel name.public void setPushChannelDescription(java.lang.String pushChannelDescription)
pushChannelDescription - push channel description.public int getPushChannelImportance()
public void setPushChannelImportance(int pushChannelImportance)
pushChannelImportance - Push channel importance.