Class ApplicationInfo
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
This class provides methods and properties to get information of the application.
public class ApplicationInfo : IDisposable
- Inheritance
-
objectApplicationInfo
- Implements
-
System.IDisposable
Constructors
View SourceApplicationInfo(string)
A constructor of ApplicationInfo that takes the application ID.
Declaration
public ApplicationInfo(string applicationId)
Parameters
Type | Name | Description |
---|---|---|
string | applicationId | Application ID. |
Properties
View SourceApplicationId
Gets the application ID.
Declaration
public string ApplicationId { get; }
Property Value
Type | Description |
---|---|
string |
ApplicationType
Gets the application type name.
Declaration
public string ApplicationType { get; }
Property Value
Type | Description |
---|---|
string |
Categories
Gets the application's category values specified in the tizen-manifest
Declaration
public IEnumerable<string> Categories { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
ComponentType
Gets the application component type.
Declaration
public ApplicationComponentType ComponentType { get; }
Property Value
Type | Description |
---|---|
ApplicationComponentType |
ExecutablePath
Gets the executable path of the application.
Declaration
public string ExecutablePath { get; }
Property Value
Type | Description |
---|---|
string |
ExternalSharedDataPath
Gets the external shared data path.
Declaration
public string ExternalSharedDataPath { get; }
Property Value
Type | Description |
---|---|
string |
IconPath
Gets the absolute path to the icon image.
Declaration
public string IconPath { get; }
Property Value
Type | Description |
---|---|
string |
IsNoDisplay
Checks whether the application information is nodisplay. If the application icon is not displayed on the menu screen, true; otherwise, false.
Declaration
public bool IsNoDisplay { get; }
Property Value
Type | Description |
---|---|
bool |
IsOnBoot
Checks whether the application is launched on booting time. If the application automatically starts on boot, true; otherwise, false.
Declaration
public bool IsOnBoot { get; }
Property Value
Type | Description |
---|---|
bool |
IsPreload
Checks whether the application is preloaded. If the application is preloaded, true; otherwise, false.
Declaration
public bool IsPreload { get; }
Property Value
Type | Description |
---|---|
bool |
Label
Gets the label of the application.
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
string |
Metadata
Gets the application's metadata.
Declaration
public IDictionary<string, string> Metadata { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TKey, TValue><string, string> |
PackageId
Gets the package ID of the application.
Declaration
public string PackageId { get; }
Property Value
Type | Description |
---|---|
string |
ResourceControls
Gets the resource controls.
Declaration
public IEnumerable<ResourceControl> ResourceControls { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><ResourceControl> |
SharedDataPath
Gets the shared data path.
Declaration
public string SharedDataPath { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
An application that wants to use shared/data directory must declare http://tizen.org/privilege/appdir.shareddata privilege. If the application doesn't declare the privilege, the framework will not create shared/data directory for the application. This property will return empty string when the application doesn't have shared/data directory.
SharedResourcePath
Gets the shared resource path.
Declaration
public string SharedResourcePath { get; }
Property Value
Type | Description |
---|---|
string |
SharedTrustedPath
Gets the shared trust path.
Declaration
public string SharedTrustedPath { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceDispose()
Releases all resources used by the ApplicationInfo class.
Declaration
public void Dispose()
~ApplicationInfo()
Destructor of the class.
Declaration
protected ~ApplicationInfo()
GetLocalizedLabel(string)
Gets the localized label of the application for the given locale.
Declaration
public string GetLocalizedLabel(string locale)
Parameters
Type | Name | Description |
---|---|---|
string | locale | Locale. |
Returns
Type | Description |
---|---|
string | The localized label. |