public class ApiHandler.CurrentGame extends Object implements CurrentGameHandler
| Constructor and Description |
|---|
CurrentGame(String version,
javax.ws.rs.client.WebTarget target) |
| Modifier and Type | Method and Description |
|---|---|
CurrentGameInfo |
getCurrentGameInfo(long summoner)
Retrieves information about a game that is currently in progress.
|
Version |
getVersion() |
public final String version
public CurrentGame(String version, javax.ws.rs.client.WebTarget target)
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 Version getVersion()
getVersion in interface VersionableCopyright © 2015. All rights reserved.