gpgs.requests.showSend()

Type Function
Return value none
Revision 2017.3060
Keywords Google Play Games Services, game network, gpgs, requests, showSend
See also gpgs.requests
gpgs.*

Overview

Shows a view to send a request to another player.

Syntax

gpgs.requests.showSend( params )
params (required)

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table contains parameters for the call.

type (required)

String. Either "gift" or "wish".

payload (required)

String. Custom data associated with this request.

description (required)

String. The text describing the request.

requestLifetimeDays (optional)

Number. Time limit for the request in days.

playerId (optional)

String. Player to whom to send the request.

playerIds (optional)

Array. Populate with string elements to send the request to multiple players. If provided, this has higher priority than playerId.

image (optional)

Table. An Image object to upload and use as a request image.

listener (optional)

Listener. Listener function which receives a showSend event.