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
-
ToastMessage
Properties
View SourceMessage
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 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 |
---|---|
ArgumentNullException | Thrown when the message is null. |