object.supportsCapture()

Type String
Return value Boolean
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs
See also gpgs2.videos.*
gpgs2.*

Overview

Checks if the capture mode and quality level are support, and camera, mic, and storage write. Or just checks if only the capture mode or the quality level is supported on their own if only one paramater is supplied.

Returns Boolean - true if supported.

Syntax

object.supportsCapture(params)
params (required)

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

Parameter Reference

mode (optional)

String. Checks whether the device supports the given capture mode.

quality (optional)

String. Checks whether the device supports the given quality level.