Definition
- Namespace:
- Tizen.Applications.ComponentBased
- Assembly:
- Tizen.Applications.ComponentBased.ComponentManager.dll
- API Level:
- 6
This class provides methods and properties to get information of the component.
public class ComponentInfo : IDisposable
- Inheritance
-
Constructors
View Source
ComponentInfo(String)
A constructor of ComponentInfo that takes the component ID.
Declaration
public ComponentInfo(string componentId)
Parameters
Type |
Name |
Description |
String |
componentId |
Component ID.
|
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/packagemanager.info
Properties
View Source
ApplicationId
Gets the application ID of the component.
Declaration
public string ApplicationId { get; }
Property Value
API Level: 6
Declaration
public string ComponentId { get; }
Property Value
API Level: 6
View Source
ComponentType
Gets the type of the component.
Declaration
public ComponentType ComponentType { get; }
Property Value
API Level: 6
View Source
IconPath
Gets the absolute path of the icon image.
Declaration
public string IconPath { get; }
Property Value
API Level: 6
View Source
IsIconDisplayed
Checks whether the icon of the component should be displayed or not.
Declaration
public bool IsIconDisplayed { get; }
Property Value
API Level: 6
View Source
IsManagedByTaskManager
Checks whether the component should be managed by task-manager or not.
Declaration
public bool IsManagedByTaskManager { get; }
Property Value
API Level: 6
Declaration
public string Label { get; }
Property Value
Methods
View Source
Dispose()
Releases all resources used by the ComponentInfo class.
Declaration
API Level: 6
Declaration
protected void Finalize()
View Source
GetLocalizedLabel(String)
Gets the localized label of the component for the given locale.
Declaration
public string GetLocalizedLabel(string locale)
Parameters
Type |
Name |
Description |
String |
locale |
Locale.
|
Returns
Type |
Description |
String |
The localized label.
|
API Level: 6
Extension Methods