public interface RobotService
Modifier and Type | Method and Description |
---|---|
java.util.List<NimRobotInfo> |
getAllRobots()
Get the local bots in service.
|
NimRobotInfo |
getRobotInfo(java.lang.String account)
Get bot info based on an account
|
java.util.List<NimRobotInfo> |
getRobotInfoList(java.util.List<java.lang.String> accounts)
Get bots info based on accounts
|
boolean |
isRobot(java.lang.String account)
Evaluate if the account is of bot type
|
InvocationFuture<java.util.List<NimRobotInfo>> |
pullAllRobots()
Get all bots and sync the information with the server
|
java.util.List<NimRobotInfo> getAllRobots()
NimRobotInfo getRobotInfo(java.lang.String account)
account
- Bot accountjava.util.List<NimRobotInfo> getRobotInfoList(java.util.List<java.lang.String> accounts)
accounts
- list of bot accountsboolean isRobot(java.lang.String account)
account
- User accountInvocationFuture<java.util.List<NimRobotInfo>> pullAllRobots()