public class ThrottledApiHandler.AsyncCurrentGameHandler extends Object implements CurrentGameHandler
| Constructor and Description |
|---|
AsyncCurrentGameHandler() |
| Modifier and Type | Method and Description |
|---|---|
Future<CurrentGameInfo> |
asyncGetCurrentGameInfo(long summoner) |
CurrentGameInfo |
getCurrentGameInfo(long summoner)
Retrieves information about a game that is currently in progress.
|
Version |
getVersion() |
public CurrentGameInfo getCurrentGameInfo(long summoner)
CurrentGameHandlerRetrieves information about a game that is currently in progress.
Note that this method throws a RequestException with error code 404 if the player isn't currently in a game
getCurrentGameInfo in interface CurrentGameHandlersummoner - The summoner for whom to check.public Future<CurrentGameInfo> asyncGetCurrentGameInfo(long summoner)
public Version getVersion()
getVersion in interface VersionableCopyright © 2015. All rights reserved.