C# Класс UnityEngine.WSA.Toast

Represents a toast notification in Windows Store Apps.

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( string xml ) : Toast

Create toast notification.

Create ( string image, string text ) : Toast

Create toast notification.

Hide ( ) : void

Hide displayed toast notification.

Show ( ) : void

Show toast notification.

Приватные методы

Метод Описание
CreateToastImageAndText ( string image, string text ) : int
CreateToastXml ( string xml ) : int
GetActivated ( int id ) : bool
GetArguments ( int id ) : string
GetDismissed ( int id, bool byUser ) : bool
GetTemplate ( ToastTemplate templ ) : string
Hide ( int id ) : void
SetArguments ( int id, string args ) : void
Show ( int id ) : void
Toast ( int id ) : System

Описание методов

Create() публичный статический Метод

Create toast notification.

public static Create ( string xml ) : Toast
xml string XML document with tile data.
Результат Toast

Create() публичный статический Метод

Create toast notification.

public static Create ( string image, string text ) : Toast
image string Uri to image to show on a toast, can be empty, in that case text-only notification will be shown.
text string A text to display on a toast notification.
Результат Toast

Hide() публичный Метод

Hide displayed toast notification.

public Hide ( ) : void
Результат void

Show() публичный Метод

Show toast notification.

public Show ( ) : void
Результат void