Version: 2017.4
public static WSA.Toast Create (string xml);
public static WSA.Toast Create (string image, string text);

パラメーター

xmlタイル データを伴う XML 文書
imageトーストに表示する画像の URI。空でも可。空の場合は、テキストのみの通知が表示。
textトースト通知に表示されるテキスト

戻り値

Toast 作成した通知に使用するトースト オブジェクト。トーストの作成が失敗した場合は null。

説明

トースト通知を作成します。

Toast notification is created by providing XML document with it's data. A second variant is a convenience method to show simple toast with text, optionally with image on it.