MethodChannelGameolive class

An implementation of GameolivePlatform that uses method channels.

Inheritance

Constructors

MethodChannelGameolive()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

acknowledgePlayerAchievement(String playerToken, String playerUid, String achievementId, [Config? config]) → Future<List<PlayerAchievement>>
override
depositToPlayerAccount(String playerUid, Transaction transaction, Config config) → Future<PlayerBalance>
override
getAvailableBadges([Config? config]) → Future<BadgesResponse>
override
getBadgesEarnedByPlayer(String playerUid, PlayMode playMode, [Config? config]) → Future<List<String>>
override
getGames(int limit, int offset, String cacheKey, [Config? config]) → Future<GamesResponse>
override
getGameUrl(LaunchConfig? gameLaunchConfig) → Future<String>
override
getLeaderBoard(String playerToken, String playerUid, String challengeId, int limit, [Config? config]) → Future<List<Leader>>
override
getPlatformVersion() → Future<String?>
override
getPlayerAccountHistory(String playerUid, PlayMode playMode, int offset, int limit, Config config) → Future<TransactionsResponse>
override
getPlayerAchievements(String playerToken, String playerUid, [Config? config]) → Future<List<PlayerAchievement>>
override
getPlayerBalance(String playerToken, String playerUid, PlayMode playMode, Config config) → Future<PlayerBalance>
override
getPlayerToken(String playerUid, PlayMode playMode, [Config? config]) → Future<String>
override
init(Config config) → Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyPlayerAction(String playerToken, String playerUid, String action, String value, [Config? config]) → Future<List<PlayerAchievement>>
override
toString() → String
A string representation of this object.
inherited

Operators

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