Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

Toast

class in UnityEngine.WSA

/

Implemented in:UnityEngine.CoreModule

Description

Represents a toast notification in Windows Store Apps.

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

Properties

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

Public Methods

HideHide displayed toast notification.
ShowShow toast notification.

Static Methods

CreateCreate toast notification.
GetTemplateGet template XML for toast notification.

Did you find this page useful? Please give it a rating: