playhaven_update_notification_badge

Update any PlayHaven notifications.

Syntax:

playhaven_update_notification_badge(x, y, w, h)


Returns: N/A


Description

After having added a PlayHaven notification badge (using the function playhaven_update_notification_badge) you can request an update from the PlayHaven network using this function.


Example:

playhaven_update_notification_badge();
alarm[0] = room_speed * 30;

The above code will request an update of new games available from the PlayHaven network and then reset the alarm to check again 30 seconds later.


Back: Advertising and Analytics
Next: ads_enable
© Copyright YoYo Games Ltd. 2018 All Rights Reserved