C# Class UnityEngine.WSA.Toast

Represents a toast notification in Windows Store Apps.

Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method 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

Method 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 method

Create toast notification.

public static Create ( string xml ) : Toast
xml string XML document with tile data.
return Toast

Create() public static method

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.
return Toast

Hide() public method

Hide displayed toast notification.

public Hide ( ) : void
return void

Show() public method

Show toast notification.

public Show ( ) : void
return void