Search Results for

    Show / Hide Table of Contents

    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
    object
    ComponentTask

    Constructors

    View Source

    ComponentTask(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 Source

    IsRunning

    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

    View Source

    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 Source

    Start()

    Starts the task.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public void Start()
    Remarks

    This method calls WaitForEvent() in the thread.

    View Source

    Stop()

    Stops the task.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public void Stop()
    Remarks

    This method calls Cancel() before stopping the thread.

    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX