Class DirectoryInfo
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
Represents directory information of the application.
public class DirectoryInfo
- Inheritance
-
objectDirectoryInfo
Properties
View SourceCache
Gets the absolute path to the application's cache directory, which is used to store temporary data of the application.
Declaration
public string Cache { get; }
Property Value
| Type | Description |
|---|---|
| string |
Data
Gets the absolute path to the application's data directory, which is used to store private data of the application.
Declaration
public string Data { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExpansionPackageResource
Gets the absolute path to the application's TEP(Tizen Expansion Package) directory. The resource files are delivered with the expansion package.
Declaration
public string ExpansionPackageResource { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalCache
Gets the absolute path to the application's external cache directory, which is used to store temporary data of the application.
Declaration
public string ExternalCache { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalData
Gets the absolute path to the application's external data directory, which is used to store data of the application.
Declaration
public string ExternalData { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalSharedData
Gets the absolute path to the application's external shared data directory, which is used to share data with other applications.
Declaration
public string ExternalSharedData { get; }
Property Value
| Type | Description |
|---|---|
| string |
Resource
Gets the absolute path to the application resource directory. The resource files are delivered with the application package.
Declaration
public string Resource { get; }
Property Value
| Type | Description |
|---|---|
| string |
SharedData
Gets the absolute path to the application's shared data directory, which is used to share data with other applications.
Declaration
public string SharedData { get; }
Property Value
| Type | Description |
|---|---|
| string |
SharedResource
Gets the absolute path to the application's shared resource directory, which is used to share resources with other applications.
Declaration
public string SharedResource { get; }
Property Value
| Type | Description |
|---|---|
| string |
SharedTrusted
Gets the absolute path to the application's shared trusted directory, which is used to share data with a family of trusted applications.
Declaration
public string SharedTrusted { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceGetResourceControlAllowedResource(string)
Gets the absolute path to the application's resource control directory, which is used to share the allowed resources of the resource packages.
Declaration
public string GetResourceControlAllowedResource(string resourceType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceType | The resource type defined in the resource package |
Returns
| Type | Description |
|---|---|
| string | The absolute path to the application's resource control directory, which is used to share the allowed resources of the resource packages. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown in case of an invalid parameter. |
| System.OutOfMemoryException | Thrown in case of out of memory. |
| System.IO.DirectoryNotFoundException | Thrown in case of nonexistence of resource. |
| System.InvalidOperationException | Thrown in case of any internal error. |
GetResourceControlGlobalResource(string)
Gets the absolute path to the application's resource control directory, which is used to share the global resources of the resource packages.
Declaration
public string GetResourceControlGlobalResource(string resourceType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceType | The resource type defined in the resource package |
Returns
| Type | Description |
|---|---|
| string | The absolute path to the application's resource control directory, which is used to share the global resources of the resource packages. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown in case of an invalid parameter. |
| System.OutOfMemoryException | Thrown in case of out of memory. |
| System.IO.DirectoryNotFoundException | Thrown in case of nonexistence of resource. |
| System.InvalidOperationException | Thrown in case of any internal error. |