Class StorageManager
Definition
- Namespace:
- Tizen.System
- Assembly:
- Tizen.System.Storage.dll
- API Level:
- 3
The StorageManager provides the properties or methods to access storage in the device.
public static class StorageManager
- Inheritance
-
StorageManager
Properties
View SourceStorages
List of all storage in the device.
Declaration
public static IEnumerable<Storage> Storages { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Storage> |
API Level: 3
Methods
View SourceSetChangedEvent(StorageArea, EventHandler)
Registers an eventhandler for state changes of specific storage type.
Declaration
public static void SetChangedEvent(StorageArea type, EventHandler handler)
Parameters
Type | Name | Description |
---|---|---|
StorageArea | type | The type of the storage. |
EventHandler | handler | An eventhandler to register. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the storage is not supported. |
API Level: 5
Feature: http://tizen.org/feature/storage.external
View SourceUnsetChangedEvent(StorageArea, EventHandler)
Unregisters an eventhandler for state changes of specific storage type.
Declaration
public static void UnsetChangedEvent(StorageArea type, EventHandler handler)
Parameters
Type | Name | Description |
---|---|---|
StorageArea | type | The type of the storage. |
EventHandler | handler | An eventhandler to unregister. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the storage is not supported. |