public class SimpleNotificationConfig extends NotificationConfig
Constructor and Description |
---|
SimpleNotificationConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
getContentText(android.content.Context context)
Returns text for notification body
|
java.lang.CharSequence |
getContentTitle(android.content.Context context)
Returns text for notification title
|
int |
getLargeIconBackgroundColor(android.content.Context context)
Returns the color that the large notification icon should be
|
int |
getSmallIcon()
Returns the drawable resource for the notification icon
|
java.lang.CharSequence |
getTickerText(android.content.Context context)
Return ticker text for notification
|
getInstance, init
public int getSmallIcon()
NotificationConfig
getSmallIcon
in class NotificationConfig
public int getLargeIconBackgroundColor(android.content.Context context)
NotificationConfig
getLargeIconBackgroundColor
in class NotificationConfig
context
- android contextpublic java.lang.CharSequence getTickerText(android.content.Context context)
NotificationConfig
getTickerText
in class NotificationConfig
context
- android applicationpublic java.lang.CharSequence getContentTitle(android.content.Context context)
NotificationConfig
getContentTitle
in class NotificationConfig
context
- android applicationpublic java.lang.CharSequence getContentText(android.content.Context context)
NotificationConfig
getContentText
in class NotificationConfig
context
- android application