Show / Hide Table of Contents

    Class Badge

    Definition

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

    The class containing common properties of the Badge.

    public class Badge
    Inheritance
    Object
    Badge

    Constructors

    View Source

    Badge(String, Int32, Boolean)

    Initializes a new instance of the Badge class.

    Declaration
    public Badge(string appId, int count = 1, bool visible = true)
    Parameters
    Type Name Description
    String appId

    Application ID

    Int32 count

    Count value

    Boolean visible

    True if it should be displayed

    Exceptions
    Type Condition
    ArgumentException

    Thrown when failed because of invalid argument

    API Level: 3

    Properties

    View Source

    AppId

    Property for the application ID of the badge.

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

    Count

    Property for the count value of the badge.

    Declaration
    public int Count { get; set; }
    Property Value
    Type Description
    Int32
    Exceptions
    Type Condition
    ArgumentException

    Thrown when set negative number

    API Level: 3
    View Source

    Visible

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

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    Boolean
    API Level: 4
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX