# showNotification

public void showNotification(Context context, String title, String content, PendingIntent pendingIntent, int notificationId, int defaults)

#### Parameters

context

上下文

title

标题

content

内容

pendingIntent

PendingIntent

notificationId

通知 id

defaults

控制通知属性， 对应public Builder setDefaults(int defaults)

public void showNotification(Context context, String title, String content, PendingIntent intent, int notificationId)