gpgs.setPopupPosition()

Type String
Return value none
Revision 2017.3060
Keywords Google Play Games Services, game network, gpgs, setPopupPosition
See also gpgs.*

Overview

Sets the screen position for popups.

Gotchas

On iOS, the only possible positions are top, center, or bottom. Thus, the supplied value is automatically converted to the appropriate position.

Syntax

gpgs.setPopupPosition( [position] )
position (optional)

String. String value of either "TopLeft", "TopCenter", "TopRight", "CenterLeft", "Center", "CenterRight", "BottomLeft", "BottomCenter", or "BottomRight". Default is "TopCenter".