Class ComponentRunningContext
Definition
- Namespace:
- Tizen.Applications.ComponentBased
- Assembly:
- Tizen.Applications.ComponentBased.ComponentManager.dll
This class provides methods and properties to get information of the running component.
public class ComponentRunningContext : IDisposable
- Inheritance
-
objectComponentRunningContext
Constructors
View SourceComponentRunningContext(string)
A constructor of ComponentRunningContext that takes the component ID.
Declaration
public ComponentRunningContext(string componentId)
Parameters
Type | Name | Description |
---|---|---|
string | componentId | Component ID. |
Properties
View SourceApplicationId
Gets the application ID of the component.
Declaration
public string ApplicationId { get; }
Property Value
Type | Description |
---|---|
string |
ComponentId
Gets the ID of the component.
Declaration
public string ComponentId { get; }
Property Value
Type | Description |
---|---|
string |
InstanceId
Gets the instance ID of the component.
Declaration
public string InstanceId { get; }
Property Value
Type | Description |
---|---|
string |
IsSubComponent
Checks whether the component is running as sub component of the group.
Declaration
public bool IsSubComponent { get; }
Property Value
Type | Description |
---|---|
bool |
IsTerminated
Checks whether the component is terminated or not.
Declaration
public bool IsTerminated { get; }
Property Value
Type | Description |
---|---|
bool |
State
Gets the state of the component.
Declaration
public ComponentRunningContext.ComponentState State { get; }
Property Value
Type | Description |
---|---|
ComponentRunningContext.ComponentState |
Methods
View SourceDispose()
Releases all resources used by the ComponentInfo class.
Declaration
public void Dispose()
~ComponentRunningContext()
Destructor of the class.
Declaration
protected ~ComponentRunningContext()
Pause()
Pauses the running component.
Declaration
public void Pause()
Resume()
Resumes the running component.
Declaration
public void Resume()
Terminate()
Terminates the running component.
Declaration
public void Terminate()