blob: 7455d0cb0944668bb63024a488e6db218aae875e [file] [log] [blame]
Garfield Tance1d0e92017-03-23 10:52:48 -07001/*
2 * Copyright (C) 2017 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.content;
18
19/**
20 * Constants for {@link Intent#ACTION_QUICK_VIEW}.
21 */
22public class QuickViewConstants {
23
24 private QuickViewConstants() {}
25
26 /**
27 * Feature to view a document using system standard viewing mechanism, like
28 * {@link Intent#ACTION_VIEW}.
29 *
30 * @see Intent#EXTRA_QUICK_VIEW_FEATURES
31 * @see Intent#ACTION_QUICK_VIEW
32 */
33 public static final String FEATURE_VIEW = "android:view";
34
35 /**
36 * Feature to view a document using system standard editing mechanism, like
37 * {@link Intent#ACTION_EDIT}.
38 *
39 * @see Intent#EXTRA_QUICK_VIEW_FEATURES
40 * @see Intent#ACTION_QUICK_VIEW
41 */
42 public static final String FEATURE_EDIT = "android:edit";
43
44 /**
45 * Feature to view a document using system standard sending mechanism, like
46 * {@link Intent#ACTION_SEND}.
47 *
48 * @see Intent#EXTRA_QUICK_VIEW_FEATURES
49 * @see Intent#ACTION_QUICK_VIEW
50 */
51 public static final String FEATURE_SEND = "android:send";
52
53 /**
54 * Feature to download a document to the local file system.
55 *
56 * @see Intent#EXTRA_QUICK_VIEW_FEATURES
57 * @see Intent#ACTION_QUICK_VIEW
58 */
59 public static final String FEATURE_DOWNLOAD = "android:download";
60
61 /**
62 * Feature to print a document.
63 *
64 * @see Intent#EXTRA_QUICK_VIEW_FEATURES
65 * @see Intent#ACTION_QUICK_VIEW
66 */
67 public static final String FEATURE_PRINT = "android:print";
68}