1/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.support.v4.app;
18
19/**
20 * Well-known extras used by {@link NotificationCompat} for backwards compatibility.
21 */
22public final class NotificationCompatExtras {
23    /**
24     * Extras key used internally by {@link NotificationCompat} to store the value of
25     * the {@link android.app.Notification#FLAG_LOCAL_ONLY} field before it was available.
26     * If possible, use {@link NotificationCompat#getLocalOnly} to access this field.
27     */
28    public static final String EXTRA_LOCAL_ONLY = NotificationCompatJellybean.EXTRA_LOCAL_ONLY;
29
30    /**
31     * Extras key used internally by {@link NotificationCompat} to store the value set
32     * by {@link android.app.Notification.Builder#setGroup} before it was available.
33     * If possible, use {@link NotificationCompat#getGroup} to access this value.
34     */
35    public static final String EXTRA_GROUP_KEY = NotificationCompatJellybean.EXTRA_GROUP_KEY;
36
37    /**
38     * Extras key used internally by {@link NotificationCompat} to store the value set
39     * by {@link android.app.Notification.Builder#setGroupSummary} before it was available.
40     * If possible, use {@link NotificationCompat#isGroupSummary} to access this value.
41     */
42    public static final String EXTRA_GROUP_SUMMARY =
43            NotificationCompatJellybean.EXTRA_GROUP_SUMMARY;
44
45    /**
46     * Extras key used internally by {@link NotificationCompat} to store the value set
47     * by {@link android.app.Notification.Builder#setSortKey} before it was available.
48     * If possible, use {@link NotificationCompat#getSortKey} to access this value.
49     */
50    public static final String EXTRA_SORT_KEY = NotificationCompatJellybean.EXTRA_SORT_KEY;
51
52    /**
53     * Extras key used internally by {@link NotificationCompat} to store the value of
54     * the {@link android.app.Notification.Action#extras} field before it was available.
55     * If possible, use {@link NotificationCompat#getAction} to access this field.
56     */
57    public static final String EXTRA_ACTION_EXTRAS =
58            NotificationCompatJellybean.EXTRA_ACTION_EXTRAS;
59
60    /**
61     * Extras key used internally by {@link NotificationCompat} to store the value of
62     * the {@link android.app.Notification.Action#getRemoteInputs} before the field
63     * was available.
64     * If possible, use {@link NotificationCompat.Action#getRemoteInputs to access this field.
65     */
66    public static final String EXTRA_REMOTE_INPUTS =
67            NotificationCompatJellybean.EXTRA_REMOTE_INPUTS;
68
69    private NotificationCompatExtras() {}
70}
71