Class ApplicationInfo
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
This class provides methods and properties to get information of the application.
public class ApplicationInfo : IDisposable
- Inheritance
-
ApplicationInfo
- Implements
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. |
API Level: 3
Properties
View SourceApplicationId
Gets the application ID.
Declaration
public string ApplicationId { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceApplicationType
Gets the application type name.
Declaration
public string ApplicationType { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceCategories
Gets the application's category values specified in the tizen-manifest
Declaration
public IEnumerable<string> Categories { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/packagemanager.admin
View SourceComponentType
Gets the application component type.
Declaration
public ApplicationComponentType ComponentType { get; }
Property Value
Type | Description |
---|---|
ApplicationComponentType |
API Level: 6
View SourceExecutablePath
Gets the executable path of the application.
Declaration
public string ExecutablePath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceExternalSharedDataPath
Gets the external shared data path.
Declaration
public string ExternalSharedDataPath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceIconPath
Gets the absolute path to the icon image.
Declaration
public string IconPath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceIsNoDisplay
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 |
---|---|
Boolean |
API Level: 3
View SourceIsOnBoot
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 |
---|---|
Boolean |
API Level: 3
View SourceIsPreload
Checks whether the application is preloaded. If the application is preloaded, true; otherwise, false.
Declaration
public bool IsPreload { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceLabel
Gets the label of the application.
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceMetadata
Gets the application's metadata.
Declaration
public IDictionary<string, string> Metadata { get; }
Property Value
Type | Description |
---|---|
IDictionary<String, String> |
API Level: 3
View SourcePackageId
Gets the package ID of the application.
Declaration
public string PackageId { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceSharedDataPath
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.
API Level: 3
View SourceSharedResourcePath
Gets the shared resource path.
Declaration
public string SharedResourcePath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceSharedTrustedPath
Gets the shared trust path.
Declaration
public string SharedTrustedPath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Methods
View SourceDispose()
Releases all resources used by the ApplicationInfo class.
Declaration
public void Dispose()
API Level: 3
View SourceFinalize()
Destructor of the class.
Declaration
protected void Finalize()
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. |