Class ComponentTask
Definition
- Namespace:
- Tizen.Applications.ComponentBased
- Assembly:
- Tizen.Applications.ComponentBased.Port.dll
- API Level:
- 9
Provides a task class for the ComponentPort class. This is a convenience class to manage ComponentPort communication in a separate thread.
C#Copypublic class ComponentTask
- Inheritance
-
System.ObjectComponentTask
Constructors
Declaration
C#Copypublic ComponentTask(ComponentPort port)
Parameters
Type | Name | Description |
---|---|---|
ComponentPort | port | The component port object |
API Level: 9
Properties
Declaration
C#Copypublic bool IsRunning { get; }
Property Value
Type | Description |
---|---|
System.Boolean | If the task is running, true; otherwise, false |
API Level: 9
Declaration
C#Copypublic ComponentPort Port { get; }
Property Value
Type | Description |
---|---|
ComponentPort | The instance of the component port |
API Level: 9
Methods
Declaration
C#Copypublic void Start()
API Level: 9
Declaration
C#Copypublic void Stop()
Remarks
This method calls ComponentPort.Cancel() before stopping the thread.