2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 namespace Tizen.Content.Download
20 /// Enumeration for download state.
22 /// <since_tizen> 3 </since_tizen>
23 public enum DownloadState
26 /// Unhandled exception
28 /// <since_tizen> 3 </since_tizen>
33 /// <since_tizen> 3 </since_tizen>
36 /// Queued to start downloading
38 /// <since_tizen> 3 </since_tizen>
41 /// Currently downloading
43 /// <since_tizen> 3 </since_tizen>
46 /// Download is paused and can be resumed
48 /// <since_tizen> 3 </since_tizen>
51 /// The download is completed
53 /// <since_tizen> 3 </since_tizen>
56 /// The download failed
58 /// <since_tizen> 3 </since_tizen>
61 /// User canceled the download request
63 /// <since_tizen> 3 </since_tizen>
68 /// Enumeration for network type.
70 /// <since_tizen> 3 </since_tizen>
71 public enum NetworkType
74 /// Download is available through data network
76 /// <since_tizen> 3 </since_tizen>
79 /// Download is available through WiFi
81 /// <since_tizen> 3 </since_tizen>
84 /// Download is available through WiFi-Direct
86 /// <since_tizen> 3 </since_tizen>
89 /// Download is available through either data network or WiFi
91 /// <since_tizen> 3 </since_tizen>
96 /// Enumeration for notification type.
98 /// <since_tizen> 3 </since_tizen>
99 public enum NotificationType
102 /// Do not register notification
104 /// <since_tizen> 3 </since_tizen>
107 /// Completion notification for success state and failed state
109 /// <since_tizen> 3 </since_tizen>
112 /// All download notifications for ongoing state, success state and failed state
114 /// <since_tizen> 3 </since_tizen>
118 internal enum NotificationAppControlType
125 internal static class Globals
127 internal const string LogTag = "Tizen.Content.Download";