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.

C#
Copy
public class ApplicationInfo : IDisposable
Inheritance
System.Object
ApplicationInfo
Derived
Tizen.Applications.RecentApplicationInfo
Implements
System.IDisposable

Constructors

View Source

ApplicationInfo(String)

A constructor of ApplicationInfo that takes the application ID.

Declaration
C#
Copy
public ApplicationInfo(string applicationId)
Parameters
Type Name Description
System.String applicationId

Application ID.

API Level: 3

Properties

View Source

ApplicationId

Gets the application ID.

Declaration
C#
Copy
public string ApplicationId { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

ApplicationType

Gets the application type name.

Declaration
C#
Copy
public string ApplicationType { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

Categories

Gets the application's category values specified in the tizen-manifest

Declaration
C#
Copy
public IEnumerable<string> Categories { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/packagemanager.admin
View Source

ComponentType

Gets the application component type.

Declaration
C#
Copy
public ApplicationComponentType ComponentType { get; }
Property Value
Type Description
ApplicationComponentType
API Level: 6
View Source

ExecutablePath

Gets the executable path of the application.

Declaration
C#
Copy
public string ExecutablePath { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

ExternalSharedDataPath

Gets the external shared data path.

Declaration
C#
Copy
public string ExternalSharedDataPath { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

IconPath

Gets the absolute path to the icon image.

Declaration
C#
Copy
public string IconPath { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

IsNoDisplay

Checks whether the application information is nodisplay. If the application icon is not displayed on the menu screen, true; otherwise, false.

Declaration
C#
Copy
public bool IsNoDisplay { get; }
Property Value
Type Description
Boolean
API Level: 3
View Source

IsOnBoot

Checks whether the application is launched on booting time. If the application automatically starts on boot, true; otherwise, false.

Declaration
C#
Copy
public bool IsOnBoot { get; }
Property Value
Type Description
Boolean
API Level: 3
View Source

IsPreload

Checks whether the application is preloaded. If the application is preloaded, true; otherwise, false.

Declaration
C#
Copy
public bool IsPreload { get; }
Property Value
Type Description
Boolean
API Level: 3
View Source

Label

Gets the label of the application.

Declaration
C#
Copy
public string Label { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

Metadata

Gets the application's metadata.

Declaration
C#
Copy
public IDictionary<string, string> Metadata { get; }
Property Value
Type Description
IDictionary<System.String, System.String>
API Level: 3
View Source

PackageId

Gets the package ID of the application.

Declaration
C#
Copy
public string PackageId { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

ResourceControls

Gets the resource controls.

Declaration
C#
Copy
public IEnumerable<ResourceControl> ResourceControls { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ResourceControl>
API Level: 9
View Source

SharedDataPath

Gets the shared data path.

Declaration
C#
Copy
public string SharedDataPath { get; }
Property Value
Type Description
System.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 Source

SharedResourcePath

Gets the shared resource path.

Declaration
C#
Copy
public string SharedResourcePath { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

SharedTrustedPath

Gets the shared trust path.

Declaration
C#
Copy
public string SharedTrustedPath { get; }
Property Value
Type Description
System.String
API Level: 3

Methods

View Source

Dispose()

Releases all resources used by the ApplicationInfo class.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Finalize()

Destructor of the class.

Declaration
C#
Copy
protected void Finalize()
View Source

GetLocalizedLabel(String)

Gets the localized label of the application for the given locale.

Declaration
C#
Copy
public string GetLocalizedLabel(string locale)
Parameters
Type Name Description
System.String locale

Locale.

Returns
Type Description
System.String

The localized label.

API Level: 3

Implements

System.IDisposable