Code example for Notification

Methods: setLatestEventInfo

0
            this.text = text;
            this.info = info;
        } 
    } 
 
    public static class Builder { 
        public static final String INFO_MARKER_TEXT = "MARKER:INFO";
 
        private final Context context;
        private final StatusBarNotificationStyles notificationStyles;
 
        public Builder(Context context) {
            this.context = context;
            this.notificationStyles = new StatusBarNotificationStyles(context);
        } 
 
        public ProgressNotification generateRawProgressNotification(OpNotification opn,int backupLayout, TextViewIds backupLayoutViewIds) {
            return (SDK_INT >= ICE_CREAM_SANDWICH)?
                    generateUsingICS(opn):generatePreICS(opn, backupLayout, backupLayoutViewIds);
        }