GCKPlayerInfo 类
表示单个玩家的数据。
- Deprecated:
- Game Manager API 不再受支持,并将在未来的版本中移除。
此类继承 NSObject。
如果此播放器是在发送者设备上创建的,则为 True。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-12-06。
[null,null,["最后更新时间 (UTC):2022-12-06。"],[[["The `GCKPlayerInfo` class represents data for a single player in a game session, including player ID, state, and custom data."],["This class is part of the Game Manager API, which is deprecated and will be removed in a future release."],["Players have properties such as `playerID`, `playerState`, `playerData`, `isConnected`, and `isControllable` that provide information about their status and connection."],["A player is considered connected if their `playerState` is `Available`, `Ready`, `Idle`, or `Playing`."],["`isControllable` indicates if the player was created on the current sender device."]]],[]]