FileDocCategorySizeDatePackage
INotificationManager.javaAPI DocAndroid 5.1 API41226Sat Mar 14 05:47:56 GMT 2015android.app

INotificationManager

public interface INotificationManager implements android.os.IInterface
{@hide}

Fields Summary
Constructors Summary
Methods Summary
public booleanareNotificationsEnabledForPackage(java.lang.String pkg, int uid)

public voidcancelAllNotifications(java.lang.String pkg, int userId)

public voidcancelNotificationFromListener(android.service.notification.INotificationListener token, java.lang.String pkg, java.lang.String tag, int id)

public voidcancelNotificationWithTag(java.lang.String pkg, java.lang.String tag, int id, int userId)

public voidcancelNotificationsFromListener(android.service.notification.INotificationListener token, java.lang.String[] keys)

public voidcancelToast(java.lang.String pkg, android.app.ITransientNotification callback)

public voidenqueueNotificationWithTag(java.lang.String pkg, java.lang.String opPkg, java.lang.String tag, int id, android.app.Notification notification, int[] idReceived, int userId)

public voidenqueueToast(java.lang.String pkg, android.app.ITransientNotification callback, int duration)

public android.service.notification.StatusBarNotification[]getActiveNotifications(java.lang.String callingPkg)

public android.content.pm.ParceledListSlicegetActiveNotificationsFromListener(android.service.notification.INotificationListener token, java.lang.String[] keys, int trim)

public android.service.notification.Condition[]getAutomaticZenModeConditions()

public android.content.ComponentNamegetEffectsSuppressor()

public intgetHintsFromListener(android.service.notification.INotificationListener token)

public android.service.notification.StatusBarNotification[]getHistoricalNotifications(java.lang.String callingPkg, int count)

public intgetInterruptionFilterFromListener(android.service.notification.INotificationListener token)

public intgetPackagePriority(java.lang.String pkg, int uid)

public intgetPackageVisibilityOverride(java.lang.String pkg, int uid)

public android.service.notification.ZenModeConfiggetZenModeConfig()

public booleanisSystemConditionProviderEnabled(java.lang.String path)

public booleanmatchesCallFilter(android.os.Bundle extras)

public voidnotifyConditions(java.lang.String pkg, android.service.notification.IConditionProvider provider, android.service.notification.Condition[] conditions)

public voidregisterListener(android.service.notification.INotificationListener listener, android.content.ComponentName component, int userid)

public voidrequestHintsFromListener(android.service.notification.INotificationListener token, int hints)

public voidrequestInterruptionFilterFromListener(android.service.notification.INotificationListener token, int interruptionFilter)

public voidrequestZenModeConditions(android.service.notification.IConditionListener callback, int relevance)

public voidsetAutomaticZenModeConditions(android.net.Uri[] conditionIds)

public voidsetNotificationsEnabledForPackage(java.lang.String pkg, int uid, boolean enabled)

public voidsetOnNotificationPostedTrimFromListener(android.service.notification.INotificationListener token, int trim)

public voidsetPackagePriority(java.lang.String pkg, int uid, int priority)

public voidsetPackageVisibilityOverride(java.lang.String pkg, int uid, int visibility)

public voidsetZenModeCondition(android.service.notification.Condition condition)

public booleansetZenModeConfig(android.service.notification.ZenModeConfig config)

public voidunregisterListener(android.service.notification.INotificationListener listener, int userid)