com.google.android.gms.games.Notifications |
Entry point for notifications functionality.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | NOTIFICATION_TYPES_ALL | Notification types for any notification. | |||||||||
int | NOTIFICATION_TYPES_MULTIPLAYER | Notification types for multiplayer notifications. | |||||||||
int | NOTIFICATION_TYPE_INVITATION | Notification type for invites to multiplayer games. | |||||||||
int | NOTIFICATION_TYPE_LEVEL_UP | Notification type for level-ups. | |||||||||
int | NOTIFICATION_TYPE_MATCH_UPDATE | Notification type for updates to match information. | |||||||||
int | NOTIFICATION_TYPE_QUEST | Notification type for quests. | |||||||||
int | NOTIFICATION_TYPE_REQUEST | Notification type for requests. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear the notifications of the specified type for the current game and signed-in player.
| |||||||||||
Clear all notifications for the current game and signed-in player.
|
Notification types for any notification.
Notification types for multiplayer notifications.
Notification type for invites to multiplayer games.
Notification type for level-ups.
Notification type for updates to match information.
Notification type for quests.
Notification type for requests.
Clear the notifications of the specified type for the current game and signed-in player. This
should be a mask comprised of values from the constants
NOTIFICATION_TYPE_INVITATION
, NOTIFICATION_TYPE_MATCH_UPDATE
,
NOTIFICATION_TYPES_MULTIPLAYER
, and NOTIFICATION_TYPES_ALL
.
Required API: API
Required Scopes: SCOPE_GAMES
apiClient | The GoogleApiClient to service the call. |
---|---|
notificationTypes | Mask of notification types to clear. |
Clear all notifications for the current game and signed-in player.
Required API: API
Required Scopes: SCOPE_GAMES
apiClient | The GoogleApiClient to service the call.
|
---|