title: NotificationCompat.Builder
body: <p>I send in the constructor of the class that extends nothing <strong>context</strong></p>
  
  <pre><code>int icon = R.drawable.ic_launcher;
          long when = System.currentTimeMillis();
          myNotification = new NotificationCompat.Builder(context)
                  .setSmallIcon(icon)
                  .setContentTitle(context.getResources().getString(R.string.app_name))
                  .setContentText(context.getResources().getString(R.string.app_name))
                  .setWhen(when)
                  .setTicker(context.getResources().getString(R.string.app_name))
                  .setDefaults(Notification.FLAG_NO_CLEAR);
  </code></pre>
  
  <p>and then I send some datas through RemoteViews and on the end</p>
  
  <pre><code>Intent notificationIntent = new Intent(context, Menu_Activity.class);
  PendingIntent contentIntent = PendingIntent.getActivity(context, 0, notificationIntent, 0);
  contentView.setOnClickPendingIntent(R.id.layoutNotification, contentIntent);
  myNotification.setContent(remoteView);
  
  myNotification.setOngoing(false);
  myNotification.setAutoCancel(false);
  
  myNotification.setPriority(Notification.PRIORITY_HIGH);
  myNotification.setContentIntent(contentIntent);
  
  myNotificationManager.notify(NOTIFICATION_ID, myNotification.build());
  </code></pre>
  
  <p>but I need to set this notification, that it will be not possible to delete by swipe it to the side. Now everytimes I can delete it by swiping. How to disable that? </p>
  
  <p>Thank you</p>