C# Class UnityEngine.WSA.Toast

Represents a toast notification in Windows Store Apps.

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

Create() public static méthode

Create toast notification.

public static Create ( string xml ) : Toast
xml string XML document with tile data.
Résultat Toast

Create() public static méthode

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.
Résultat Toast

Hide() public méthode

Hide displayed toast notification.

public Hide ( ) : void
Résultat void

Show() public méthode

Show toast notification.

public Show ( ) : void
Résultat void