Code example for Notification.Builder

Methods: setSmallIcon

0
	public void setContentText(CharSequence text) {
		mInstance.setContentText(text);
	} 
 
	public void setSmallIcon(int icon) {
		mInstance.setSmallIcon(icon);
	} 
 
	public void setOngoing(boolean ongoing) {
		mInstance.setOngoing(ongoing);
	} 
 
	public void setContentIntent(PendingIntent intent) {
		mInstance.setContentIntent(intent);
	} 
 
	public void setProgress(int max, int progress, boolean indeterminate) {
		mInstance.setProgress(max, progress, indeterminate);
	} 
 
	@SuppressWarnings("deprecation")