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.System
20 /// Enumeration for the state of storage devices.
22 /// <since_tizen> 3 </since_tizen>
23 public enum StorageState
26 /// The storage is present but cannot be mounted. Typically, it happens if the file system of the storage is corrupted.
28 /// <since_tizen> 3 </since_tizen>
29 Unmountable = Interop.Storage.StorageState.Unmountable,
31 /// The storage is not present or removed.
33 /// <since_tizen> 3 </since_tizen>
34 Removed = Interop.Storage.StorageState.Removed,
36 /// The storage is mounted with read/write access.
38 /// <since_tizen> 3 </since_tizen>
39 Mounted = Interop.Storage.StorageState.Mounted,
41 /// The storage is mounted with read-only access.
43 /// <since_tizen> 3 </since_tizen>
44 MountedReadOnly = Interop.Storage.StorageState.MountedReadOnly,