Class ComponentTask
Definition
- Namespace:
- Tizen.Applications.ComponentBased
- Assembly:
- Tizen.Applications.ComponentBased.Port.dll
Provides a task class for the ComponentPort class. This is a convenience class to manage ComponentPort communication in a separate thread.
[Obsolete("This has been deprecated in API14")]
public class ComponentTask
- Inheritance
-
ComponentTask
Constructors
View SourceComponentTask(ComponentPort)
Initializes the instance of the ComponentTask class.
Declaration
[Obsolete("This has been deprecated in API14")]
public ComponentTask(ComponentPort port)
Parameters
| Type | Name | Description |
|---|---|---|
| ComponentPort | port | The component port object |
Properties
View SourceIsRunning
Checks whether the component task is running.
Declaration
[Obsolete("This has been deprecated in API14")]
public bool IsRunning { get; }
Property Value
| Type | Description |
|---|---|
| bool | If the task is running, true; otherwise, false |
Port
Gets the component port.
Declaration
[Obsolete("This has been deprecated in API14")]
public ComponentPort Port { get; }
Property Value
| Type | Description |
|---|---|
| ComponentPort | The instance of the component port |
Methods
View SourceStart()
Starts the task.
Declaration
[Obsolete("This has been deprecated in API14")]
public void Start()
Remarks
This method calls WaitForEvent() in the thread.
Stop()
Stops the task.
Declaration
[Obsolete("This has been deprecated in API14")]
public void Stop()
Remarks
This method calls Cancel() before stopping the thread.