Search Results for

    Show / Hide Table of Contents

    Class ComponentInfo

    Definition

    Namespace:
    Tizen.Applications.ComponentBased
    Assembly:
    Tizen.Applications.ComponentBased.ComponentManager.dll

    Provides methods and properties to retrieve information about a component in a Tizen application. This class encapsulates details such as component ID, application ID, and other attributes.

    [Obsolete("This has been deprecated in API14")]
    public class ComponentInfo : IDisposable
    Inheritance
    object
    ComponentInfo
    Implements
    IDisposable

    Constructors

    View Source

    ComponentInfo(string)

    Initializes a new instance of the ComponentInfo class with the specified component ID.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public ComponentInfo(string componentId)
    Parameters
    Type Name Description
    string componentId

    The ID of the component.

    Exceptions
    Type Condition
    ArgumentException

    Thrown when the component ID is invalid.

    InvalidOperationException

    Thrown when a system error occurs.

    OutOfMemoryException

    Thrown when memory allocation fails.

    UnauthorizedAccessException

    Thrown when permission is denied.

    Properties

    View Source

    ApplicationId

    Gets the application ID associated with the component.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public string ApplicationId { get; }
    Property Value
    Type Description
    string
    View Source

    ComponentId

    Gets the ID of the component.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public string ComponentId { get; }
    Property Value
    Type Description
    string
    View Source

    ComponentType

    Gets the type of the component.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public ComponentType ComponentType { get; }
    Property Value
    Type Description
    ComponentType
    View Source

    IconPath

    Gets the absolute path of the component's icon image.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public string IconPath { get; }
    Property Value
    Type Description
    string
    View Source

    IsIconDisplayed

    Checks whether the icon of the component should be displayed.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public bool IsIconDisplayed { get; }
    Property Value
    Type Description
    bool
    View Source

    IsManagedByTaskManager

    Checks whether the component is managed by the task manager.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public bool IsManagedByTaskManager { get; }
    Property Value
    Type Description
    bool
    View Source

    Label

    Gets the label of the component.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public string Label { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    Dispose()

    Releases all resources used by the ComponentInfo class.

    Declaration
    public void Dispose()
    View Source

    ~ComponentInfo()

    Finalizes an instance of the ComponentInfo class.

    Declaration
    protected ~ComponentInfo()
    View Source

    GetLocalizedLabel(string)

    Gets the localized label of the component for a specified locale.

    Declaration
    [Obsolete("This has been deprecated in API14")]
    public string GetLocalizedLabel(string locale)
    Parameters
    Type Name Description
    string locale

    The locale in the format of language and country code (e.g., "en-US").

    Returns
    Type Description
    string

    The localized label corresponding to the specified locale.

    Remarks

    Available values are in the format "[2-letter lowercase language code (ISO 639-1)]-[2-letter lowercase country code (ISO 3166-alpha-2)]".

    Implements

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