| /* |
| * Copyright (C) 2014 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| package android.support.v4.app; |
| |
| /** |
| * Well-known extras used by {@link NotificationCompat} for backwards compatibility. |
| */ |
| public final class NotificationCompatExtras { |
| /** |
| * Extras key used internally by {@link NotificationCompat} to store the value of |
| * the {@link android.app.Notification#FLAG_LOCAL_ONLY} field before it was available. |
| * If possible, use {@link NotificationCompat#getLocalOnly} to access this field. |
| */ |
| public static final String EXTRA_LOCAL_ONLY = "android.support.localOnly"; |
| |
| /** |
| * Extras key used internally by {@link NotificationCompat} to store the value set |
| * by {@link android.app.Notification.Builder#setGroup} before it was available. |
| * If possible, use {@link NotificationCompat#getGroup} to access this value. |
| */ |
| public static final String EXTRA_GROUP_KEY = "android.support.groupKey"; |
| |
| /** |
| * Extras key used internally by {@link NotificationCompat} to store the value set |
| * by {@link android.app.Notification.Builder#setGroupSummary} before it was available. |
| * If possible, use {@link NotificationCompat#isGroupSummary} to access this value. |
| */ |
| public static final String EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary"; |
| |
| /** |
| * Extras key used internally by {@link NotificationCompat} to store the value set |
| * by {@link android.app.Notification.Builder#setSortKey} before it was available. |
| * If possible, use {@link NotificationCompat#getSortKey} to access this value. |
| */ |
| public static final String EXTRA_SORT_KEY = "android.support.sortKey"; |
| |
| /** |
| * Extras key used internally by {@link NotificationCompat} to store the value of |
| * the {@link android.app.Notification.Action#extras} field before it was available. |
| * If possible, use {@link NotificationCompat#getAction} to access this field. |
| */ |
| public static final String EXTRA_ACTION_EXTRAS = "android.support.actionExtras"; |
| |
| /** |
| * Extras key used internally by {@link NotificationCompat} to store the value of |
| * the {@link android.app.Notification.Action#getRemoteInputs} before the field |
| * was available. |
| * If possible, use {@link NotificationCompat.Action#getRemoteInputs} to access this field. |
| */ |
| public static final String EXTRA_REMOTE_INPUTS = "android.support.remoteInputs"; |
| |
| private NotificationCompatExtras() {} |
| } |