public final UploadNotificationConfig addActionForAllStatuses ( UploadNotificationAction action ) { progress . actions . add ( action ) ; completed . actions . add ( action ) ; error . actions . add ( action ) ; cancelled . actions . add ( action ) ; return this ; }
Adds the same notification action for all the notification statuses . So for example if you want to have the same action while the notification is in progress cancelled completed or with an error this method will save you lines of code .