FileDocCategorySizeDatePackage
NotificationCompatKitKat.javaAPI DocAndroid 5.1 API6670Thu Mar 12 22:22:56 GMT 2015android.support.v4.app

NotificationCompatKitKat

public class NotificationCompatKitKat extends Object

Fields Summary
Constructors Summary
Methods Summary
public static NotificationCompatBase.ActiongetAction(android.app.Notification notif, int actionIndex, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory)

        Notification.Action action = notif.actions[actionIndex];
        Bundle actionExtras = null;
        SparseArray<Bundle> actionExtrasMap = notif.extras.getSparseParcelableArray(
                NotificationCompatJellybean.EXTRA_ACTION_EXTRAS);
        if (actionExtrasMap != null) {
            actionExtras = actionExtrasMap.get(actionIndex);
        }
        return NotificationCompatJellybean.readAction(factory, remoteInputFactory,
                action.icon, action.title, action.actionIntent, actionExtras);
    
public static intgetActionCount(android.app.Notification notif)

        return notif.actions != null ? notif.actions.length : 0;
    
public static android.os.BundlegetExtras(android.app.Notification notif)

        return notif.extras;
    
public static java.lang.StringgetGroup(android.app.Notification notif)

        return notif.extras.getString(NotificationCompatJellybean.EXTRA_GROUP_KEY);
    
public static booleangetLocalOnly(android.app.Notification notif)

        return notif.extras.getBoolean(NotificationCompatJellybean.EXTRA_LOCAL_ONLY);
    
public static java.lang.StringgetSortKey(android.app.Notification notif)

        return notif.extras.getString(NotificationCompatJellybean.EXTRA_SORT_KEY);
    
public static booleanisGroupSummary(android.app.Notification notif)

        return notif.extras.getBoolean(NotificationCompatJellybean.EXTRA_GROUP_SUMMARY);