Release 4.0.0-preview1-00051
[platform/core/csapi/tizenfx.git] / src / Tizen.System.Storage / Storage / StorageState.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 namespace Tizen.System
18 {
19     /// <summary>
20     /// Enumeration for the state of storage devices.
21     /// </summary>
22     /// <since_tizen> 3 </since_tizen>
23     public enum StorageState
24     {
25         /// <summary>
26         /// The storage is present but cannot be mounted. Typically, it happens if the file system of the storage is corrupted.
27         /// </summary>
28         /// <since_tizen> 3 </since_tizen>
29         Unmountable = Interop.Storage.StorageState.Unmountable,
30         /// <summary>
31         /// The storage is not present or removed.
32         /// </summary>
33         /// <since_tizen> 3 </since_tizen>
34         Removed = Interop.Storage.StorageState.Removed,
35         /// <summary>
36         /// The storage is mounted with read/write access.
37         /// </summary>
38         /// <since_tizen> 3 </since_tizen>
39         Mounted = Interop.Storage.StorageState.Mounted,
40         /// <summary>
41         /// The storage is mounted with read-only access.
42         /// </summary>
43         /// <since_tizen> 3 </since_tizen>
44         MountedReadOnly = Interop.Storage.StorageState.MountedReadOnly,
45     }
46 }