Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Toast

Represents a toast notification in Windows Store Apps.
Read time 1 minuteLast updated 6 days ago

Definition

public sealed class Toast

Remarks

Application must be declared "Toast capable" in manifest for toast notifications to work.

Properties

Property

Description

activatedtrue if toast was activated by user.
argumentsArguments to be passed for application when toast notification is activated.
dismissedtrue if toast notification was dismissed (for any reason).
dismissedByUsertrue if toast notification was explicitly dismissed by user.

Methods

Method

Description

HideHide displayed toast notification.
ShowShow toast notification.

Static Methods

Method

Description

CreateCreate toast notification.
GetTemplateGet template XML for toast notification.