public static UploadNotificationAction from ( NotificationCompat . Action action ) { return new UploadNotificationAction ( action . icon , action . title , action . actionIntent ) ; }
Creates a new object from an existing NotificationCompat . Action object .