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

The "applications" collection of methods. More...

Inheritance diagram for Google_Service_Games_Applications_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($applicationId, $optParams=array())
 Retrieves the metadata of the application with the given ID.
 
 played ($optParams=array())
 Indicate that the the currently authenticated user is playing your application.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "applications" collection of methods.

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

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

◆ get()

Google_Service_Games_Applications_Resource::get ( $applicationId,
$optParams = array() )

Retrieves the metadata of the application with the given ID.

If the requested application is not available for the specified platformType, the returned response will not include any instance data. (applications.get)

Parameters
string$applicationIdThe application ID from the Google Play developer console.
array$optParamsOptional parameters.

@opt_param string platformType Restrict application details returned to the specific platform. @opt_param string language The preferred language to use for strings returned by this method.

Return values
Google_Service_Games_Application

◆ played()

Google_Service_Games_Applications_Resource::played ( $optParams = array())

Indicate that the the currently authenticated user is playing your application.

(applications.played)

Parameters
array$optParamsOptional parameters.

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