Type Function
Return value none
Revision Current Public Release (2018.3326)
Keywords Google Play Games Services, game network, gpgs, clearNotifications
Platforms Android
See also gpgs.*

This feature is currently only supported on Android.


Clears all notifications, or clears specified types of notifications.


gpgs.clearNotifications( [notificationTypes] )
notificationTypes (optional)

Array. Populate this array with string elements indicating the notification types to be cleared. Accepted values include "all", "multiplayer", "invitation", "level up", "match update", "quest", and "request". If this array is omitted, all notifications will be cleared.