public interface

Banner

com.urbanairship.push.iam.view.Banner
Known Indirect Subclasses

Class Overview

Common banner view interface.

Summary

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.

Public Methods

public abstract void setNotificationActionButtonGroup (NotificationActionButtonGroup group)

Sets the action buttons from a NotificationActionButtonGroup.

Parameters
group The notification action button group.

public abstract void setOnActionClickListener (Banner.OnActionClickListener listener)

Sets the listener for action button clicks

Parameters
listener The action button listener.

public abstract void setOnDismissClickListener (Banner.OnDismissClickListener listener)

Sets the listener for dismiss button clicks

Parameters
listener The dismiss listener.

public abstract void setPrimaryColor (int color)

Sets the primary banner color.

Parameters
color The primary color.

public abstract void setSecondaryColor (int color)

Sets the secondary banner color.

Parameters
color The secondary color.

public abstract void setText (CharSequence text)

Sets the banner's text.

Parameters
text Banner's text.