Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Games_Pushtokens_Resource Class Reference

The "pushtokens" collection of methods. More...

Inheritance diagram for Google_Service_Games_Pushtokens_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 remove (Google_Service_Games_PushTokenId $postBody, $optParams=array())
 Removes a push token for the current user and application.
 
 update (Google_Service_Games_PushToken $postBody, $optParams=array())
 Registers a push token for the current user and application.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "pushtokens" collection of methods.

Typical usage is: $gamesService = new Google_Service_Games(...); $pushtokens = $gamesService->pushtokens;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ remove()

Google_Service_Games_Pushtokens_Resource::remove ( Google_Service_Games_PushTokenId $postBody,
$optParams = array() )

Removes a push token for the current user and application.

Removing a non- existent push token will report success. (pushtokens.remove)

Parameters
Google_PushTokenId$postBody
array$optParamsOptional parameters.

◆ update()

Google_Service_Games_Pushtokens_Resource::update ( Google_Service_Games_PushToken $postBody,
$optParams = array() )

Registers a push token for the current user and application.

(pushtokens.update)

Parameters
Google_PushToken$postBody
array$optParamsOptional parameters.

The documentation for this class was generated from the following file: