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.