Class ComponentInfo
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.
C#Copypublic class ComponentInfo : IDisposable
- Inheritance
-
System.ObjectComponentInfo
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic ComponentInfo(string componentId)
Parameters
Type | Name | Description |
---|---|---|
System.String | componentId | Component ID. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when failed because of an invalid argument. |
InvalidOperationException | Thrown when failed because of the system error. |
OutOfMemoryException | Thrown when failed because of out of memory. |
UnauthorizedAccessException | Thrown when failed because of permission denied. |
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/packagemanager.info
Properties
Declaration
C#Copypublic string ApplicationId { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic string ComponentId { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic ComponentType ComponentType { get; }
Property Value
Type | Description |
---|---|
ComponentType |
API Level: 6
Declaration
C#Copypublic string IconPath { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic bool IsIconDisplayed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: 6
View Source
IsManagedByTaskManager
Checks whether the component should be managed by task-manager or not.
Declaration
C#Copypublic bool IsManagedByTaskManager { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: 6
Declaration
C#Copypublic string Label { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Declaration
C#Copypublic void Dispose()
API Level: 6
Declaration
C#Copyprotected void Finalize()
View Source
GetLocalizedLabel(String)
Gets the localized label of the component for the given locale.
Declaration
C#Copypublic string GetLocalizedLabel(string locale)
Parameters
Type | Name | Description |
---|---|---|
System.String | locale | Locale. |
Returns
Type | Description |
---|---|
System.String | The localized label. |
Remarks
The format of locale is language and country code. (available value: "[2-letter lowercase language code (ISO 639-1)]-[2-letter lowercase country code (ISO 3166-alpha-2)]")
API Level: 6
Implements
System.IDisposable