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 running component.
public class ComponentRunningContext : IDisposable
- Inheritance
-
Constructors
View Source
ComponentRunningContext(String)
A constructor of ComponentRunningContext that takes the component ID.
Declaration
public ComponentRunningContext(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
InstanceId
Gets the instance ID of the component.
Declaration
public string InstanceId { get; }
Property Value
API Level: 6
View Source
IsSubComponent
Checks whether the component is running as sub component of the group.
Declaration
public bool IsSubComponent { get; }
Property Value
API Level: 6
View Source
IsTerminated
Checks whether the component is terminated or not.
Declaration
public bool IsTerminated { get; }
Property Value
API Level: 6
Declaration
public ComponentRunningContext.ComponentState State { get; }
Property Value
API Level: 6
Methods
View Source
Dispose()
Releases all resources used by the ComponentInfo class.
Declaration
API Level: 6
Declaration
protected void Finalize()
Declaration
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/appmanager.launch
Declaration
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/appmanager.launch
View Source
Terminate()
Terminates the running component.
Declaration
API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/appmanager.launch
Extension Methods