Code example for Notification.Builder

Methods: setSmallIcon

0
    return this;
  } 
 
  @Override 
  public NotificationBuilder setSmallIcon(final int icon, final int level) {
    core.setSmallIcon(icon, level);
    return this;
  } 
 
  @Override 
  public NotificationBuilder setContentTitle(final CharSequence title) {
    core.setContentTitle(title);
    return this;
  } 
 
  @Override 
  public NotificationBuilder setContentText(final CharSequence text) {
    core.setContentText(text);
    return this;
  }