Show / Hide Table of Contents

    Class ToastMessage

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.ToastMessage.dll
    API Level:
    4

    The class helps you to create and show the ToastMessage which is a view quick message for the user.

    public sealed class ToastMessage
    Inheritance
    Object
    ToastMessage

    Properties

    View Source

    Message

    Gets and sets a message to post the ToastMessage.

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    String
    API Level: 4

    Methods

    View Source

    Post()

    Posts a message on a toast pop-up.

    Declaration
    public void Post()
    Examples
    ToastMessage toast = new ToastMessage
    {
        Message = "Hello TIzen"
    };
    toast.Post();
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when the message is null.

    API Level: 4
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX