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.

C#
Copy
public sealed class ToastMessage
Inheritance
System.Object
ToastMessage

Properties

View Source

Message

Gets and sets a message to post the ToastMessage.

Declaration
C#
Copy
public string Message { get; set; }
Property Value
Type Description
System.String
API Level: 4

Methods

View Source

Post()

Posts a message on a toast pop-up.

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

Thrown when the message is null.

API Level: 4