Class ToastMessage
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.ToastMessage.dll
The class helps you to create and show the ToastMessage which is a view quick message for the user.
public sealed class ToastMessage
- Inheritance
-
objectToastMessage
Properties
View SourceMessage
Gets and sets a message to post the ToastMessage.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourcePost()
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 |
---|---|
System.ArgumentNullException | Thrown when the message is null. |