NotificationUtil

public class NotificationUtil

Created by jiangecho on 2016/11/29.

Functions

Link copied to clipboard
public void clearNotification(Context context, int notificationId)
Link copied to clipboard
public NotificationChannel getDefaultChannel(Context context)
Link copied to clipboard
public static NotificationUtil getInstance()
Link copied to clipboard
public int getRingerMode(Context context)
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)