我想问一下从开发者的角度来看Google Games有什么用处。如果我GoogleApiClient
像这样连接viac :
googleApiClient = new GoogleApiClient.Builder(this)
.addApi(Games.API).addScope(Games.SCOPE_GAMES)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
我要连接到Google Play服务或Google游戏吗?如果我要连接到Google游戏,则不需要安装Google Play服务吗?因为它占用了旧设备的大量空间。
这GoogleApiClient
用作Google Play服务集成的主要切入点(如google文档中所述)
Google Play服务
这些服务的作用是将您的应用程序与Google Play商店关联以检查更新。Play服务库用于android应用项目中的类,这些类使我们能够使用google maps和其他google + API。更多信息在这里
Google Play游戏服务
正如维基百科上援引在这里 Google Play Game Services can be used by application developers to allow a more competitive and social experience through the use of leaderboards, both public and between friends, achievements and multiplayer sessions. Saved Games API is available to quickly sync game saves on Google's cloud infrastructure as well.
可以说,玩游戏服务用于保存游戏得分,并且可以让其他玩家打分板来玩您的游戏。这提供了更丰富的游戏体验。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句