Code example for Notification.Builder

Methods: setProgress

0
	public void setContentIntent(PendingIntent intent) {
		mInstance.setContentIntent(intent);
	} 
 
	public void setProgress(int max, int progress, boolean indeterminate) {
		mInstance.setProgress(max, progress, indeterminate);
	} 
 
	@SuppressWarnings("deprecation") 
	public void notifyManager(NotificationManager nm, int id) {
		nm.notify(id, mInstance.getNotification());
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java