win8_livetile_notification_end();
Returns: N/A
This function must be called after defining a Live Tile
notification to "push" it onto the Windows UI Live Tile for your
game. The notification will be shown on the Live Tile for your game
unless you have previously enabled queuing (using, win8_livetile_queue_enable),
in which case it will be added onto the notification queue and will
be shown after all previous notifications have been shown. This
function requires you to have previously selected a Live tile
template using win8_livetile_notification_begin,
and set up the necessary text, images and tags using the
appropriate Windows 8 functions.
NOTE: This function is also used to push notifications to
Secondary tiles when used along with win8_livetile_notification_secondary_begin.
var expiryTime;
expiryTime = date_current_datetime();
expiryTime = date_inc_minute(expiryTime, 5);
win8_livetile_notification_begin("TileSquarePeekImageAndText01");
win8_livetile_notification_expiry(expiryTime);
win8_livetile_notification_tag("tag0");
win8_livetile_notification_text_add("Current Score = " +
string(score));
win8_livetile_notification_image_add("ms-appx:///" +
working_directory + "ScoreTile.png");
win8_livetile_notification_end();
The above code will push a new Live Tile notification through to Windows 8, with some text and an image, and the tile will be shown for 5 minutes.