question

Rok Zorko avatar image
Rok Zorko asked

The static method release() from the type AmazonGamesClient should be acces

...sed in a static way. The documentation says we should call agsClient.release() in onPause(), however this is a static method, so it should be called like this: AmazonGamesClient.release()
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Rok, You can call any one of them. AmazonGamesClient is a singleton class and release method is defined there as a static method. Both the call would do the same thing. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.