com.urbanairship.push.iam.view.Banner |
![]() |
Common banner view interface.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | Banner.OnActionClickListener | Listener interface for action button clicks. | |||||||||
interface | Banner.OnDismissClickListener | Listener interface for dismiss button clicks. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
setNotificationActionButtonGroup(NotificationActionButtonGroup group)
Sets the action buttons from a
NotificationActionButtonGroup . | ||||||||||
abstract void |
setOnActionClickListener(Banner.OnActionClickListener listener)
Sets the listener for action button clicks
| ||||||||||
abstract void |
setOnDismissClickListener(Banner.OnDismissClickListener listener)
Sets the listener for dismiss button clicks
| ||||||||||
abstract void |
setPrimaryColor(int color)
Sets the primary banner color.
| ||||||||||
abstract void |
setSecondaryColor(int color)
Sets the secondary banner color.
| ||||||||||
abstract void |
setText(CharSequence text)
Sets the banner's text.
|
Sets the action buttons from a NotificationActionButtonGroup
.
group | The notification action button group. |
---|
Sets the listener for action button clicks
listener | The action button listener. |
---|
Sets the listener for dismiss button clicks
listener | The dismiss listener. |
---|
Sets the primary banner color.
color | The primary color. |
---|
Sets the secondary banner color.
color | The secondary color. |
---|
Sets the banner's text.
text | Banner's text. |
---|