Class Badge

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.Badge.dll

    The class containing common properties of the Badge.

    [Obsolete("Deprecated since API12. Will be removed in API14.")]
    public class Badge
    Inheritance
    object
    Badge

    Constructors

    View Source

    Badge(string, int, bool)

    Initializes a new instance of the Badge class.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API14.")]
    public Badge(string appId, int count = 1, bool visible = true)
    Parameters
    Type Name Description
    string appId

    Application ID

    int count

    Count value

    bool visible

    True if it should be displayed

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed because of invalid argument

    Properties

    View Source

    AppId

    Property for the application ID of the badge.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API14.")]
    public string AppId { get; set; }
    Property Value
    Type Description
    string
    View Source

    Count

    Property for the count value of the badge.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API14.")]
    public int Count { get; set; }
    Property Value
    Type Description
    int
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when set negative number

    View Source

    Visible

    Property for display visibility. True if the badge display visible, otherwise false..

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API14.")]
    public bool Visible { get; set; }
    Property Value
    Type Description
    bool
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX