GamesClient class abstract

Provides APIs related to basic game functions, such as obtaining the app ID and setting the position for displaying the game greeting pop-up on the screen.

Constructors

GamesClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

cancelGameService() Future<bool>
Revokes the authorization to Huawei Game Service.
getAppId() Future<String>
Obtains the app ID of a game.
setPopupsPosition(int position) Future<void>
Sets the position for displaying the game greeting and achievement unlocking pop-ups on the screen.