Show / Hide Table of Contents

    Class ApplicationInfo

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.Common.dll
    API Level:
    3

    This class provides methods and properties to get information of the application.

    public class ApplicationInfo : IDisposable
    Inheritance
    Object
    ApplicationInfo
    Implements
    IDisposable

    Constructors

    View Source

    ApplicationInfo(String)

    A constructor of ApplicationInfo that takes the application ID.

    Declaration
    public ApplicationInfo(string applicationId)
    Parameters
    Type Name Description
    String applicationId

    Application ID.

    API Level: 3

    Properties

    View Source

    ApplicationId

    Gets the application ID.

    Declaration
    public string ApplicationId { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    ApplicationType

    Gets the application type name.

    Declaration
    public string ApplicationType { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    Categories

    Gets the application's category values specified in the tizen-manifest

    Declaration
    public IEnumerable<string> Categories { get; }
    Property Value
    Type Description
    IEnumerable<String>
    API Level: 6
    Privilege Level: platform
    Privilege: http://tizen.org/privilege/packagemanager.admin
    View Source

    ComponentType

    Gets the application component type.

    Declaration
    public ApplicationComponentType ComponentType { get; }
    Property Value
    Type Description
    ApplicationComponentType
    API Level: 6
    View Source

    ExecutablePath

    Gets the executable path of the application.

    Declaration
    public string ExecutablePath { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    ExternalSharedDataPath

    Gets the external shared data path.

    Declaration
    public string ExternalSharedDataPath { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    IconPath

    Gets the absolute path to the icon image.

    Declaration
    public string IconPath { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    IsNoDisplay

    Checks whether the application information is nodisplay. If the application icon is not displayed on the menu screen, true; otherwise, false.

    Declaration
    public bool IsNoDisplay { get; }
    Property Value
    Type Description
    Boolean
    API Level: 3
    View Source

    IsOnBoot

    Checks whether the application is launched on booting time. If the application automatically starts on boot, true; otherwise, false.

    Declaration
    public bool IsOnBoot { get; }
    Property Value
    Type Description
    Boolean
    API Level: 3
    View Source

    IsPreload

    Checks whether the application is preloaded. If the application is preloaded, true; otherwise, false.

    Declaration
    public bool IsPreload { get; }
    Property Value
    Type Description
    Boolean
    API Level: 3
    View Source

    Label

    Gets the label of the application.

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    Metadata

    Gets the application's metadata.

    Declaration
    public IDictionary<string, string> Metadata { get; }
    Property Value
    Type Description
    IDictionary<String, String>
    API Level: 3
    View Source

    PackageId

    Gets the package ID of the application.

    Declaration
    public string PackageId { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    ResourceControls

    Gets the resource controls.

    Declaration
    public IEnumerable<ResourceControl> ResourceControls { get; }
    Property Value
    Type Description
    IEnumerable<ResourceControl>
    API Level: 9
    View Source

    SharedDataPath

    Gets the shared data path.

    Declaration
    public string SharedDataPath { get; }
    Property Value
    Type Description
    String
    Remarks

    An application that wants to use shared/data directory must declare http://tizen.org/privilege/appdir.shareddata privilege. If the application doesn't declare the privilege, the framework will not create shared/data directory for the application. This property will return empty string when the application doesn't have shared/data directory.

    API Level: 3
    View Source

    SharedResourcePath

    Gets the shared resource path.

    Declaration
    public string SharedResourcePath { get; }
    Property Value
    Type Description
    String
    API Level: 3
    View Source

    SharedTrustedPath

    Gets the shared trust path.

    Declaration
    public string SharedTrustedPath { get; }
    Property Value
    Type Description
    String
    API Level: 3

    Methods

    View Source

    Dispose()

    Releases all resources used by the ApplicationInfo class.

    Declaration
    public void Dispose()
    API Level: 3
    View Source

    Finalize()

    Destructor of the class.

    Declaration
    protected void Finalize()
    View Source

    GetLocalizedLabel(String)

    Gets the localized label of the application for the given locale.

    Declaration
    public string GetLocalizedLabel(string locale)
    Parameters
    Type Name Description
    String locale

    Locale.

    Returns
    Type Description
    String

    The localized label.

    API Level: 3

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX