mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console
/
MiraiConsoleImplementation
/
JConsoleInput
JConsole
Input
@
ConsoleFrontEndImplementation
interface
JConsoleInput
:
ConsoleInput
供 Java 用户实现
ConsoleInput
Members
Functions
request
Input
Link copied to clipboard
open
suspend override
fun
requestInput
(
hint
:
String
)
:
String
挂起当前协程, 以
提示
向用户索要一个输入, 在用户完成输入时返回输入结果.
request
Input
J
Link copied to clipboard
@
JvmName
(
name
=
"requestInput"
)
abstract
fun
requestInputJ
(
hint
:
String
)
:
String