Release 4.0.0-preview1-00051
[platform/core/csapi/tizenfx.git] / src / Tizen.Applications.Common / Tizen.Applications / ApplicationInfoFilter.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
17 using System;
18 using System.Collections.Generic;
19
20 namespace Tizen.Applications
21 {
22     /// <summary>
23     /// This class is a parameter of GetInstalledApplicationsAsync method.
24     /// </summary>
25     public class ApplicationInfoFilter
26     {
27         /// <summary>
28         ///
29         /// </summary>
30         public ApplicationInfoFilter()
31         {
32             Filter = new Dictionary<string, string>();
33         }
34
35         /// <summary>
36         /// This class is a possible key to use in the InstalledApplicationFilter.
37         /// </summary>
38         public static class Keys
39         {
40             /// <summary>
41             ///
42             /// </summary>
43             public const string Id = "PACKAGE_INFO_PROP_APP_ID";
44             /// <summary>
45             ///
46             /// </summary>
47             public const string Type = "PACKAGE_INFO_PROP_APP_TYPE";
48             /// <summary>
49             ///
50             /// </summary>
51             public const string Category = "PACKAGE_INFO_PROP_APP_CATEGORY";
52             /// <summary>
53             ///
54             /// </summary>
55             public const string NoDisplay = "PACKAGE_INFO_PROP_APP_NODISPLAY";
56             /// <summary>
57             ///
58             /// </summary>
59             public const string TaskManage = "PACKAGE_INFO_PROP_APP_TASKMANAGE";
60         }
61
62         /// <summary>
63         ///
64         /// </summary>
65         public IDictionary<string, string> Filter
66         {
67             get; private set;
68         }
69     }
70 }