# NotificationUtil

public class NotificationUtil

Created by jiangecho on 2016/11/29.

## Functions

clearNotification
Link copied to clipboard
public void clearNotification(Context context, int notificationId)
getDefaultChannel
Link copied to clipboard
public NotificationChannel getDefaultChannel(Context context)
getInstance
Link copied to clipboard
public static NotificationUtil getInstance()
getRingerMode
Link copied to clipboard
public int getRingerMode(Context context)
showNotification
Link copied to clipboard
public void showNotification(Context context, String title, String content, PendingIntent intent, int notificationId)
public void showNotification(Context context, String title, String content, PendingIntent pendingIntent, int notificationId, int defaults)