sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
com.m8test.command.api
/
CommandWatcher
/
beforeExecute
before
Execute
abstract
fun
beforeExecute
(
listener
:
(
fullCommand
:
String
,
command
:
Command
)
->
Unit
)
添加在命令运行之前执行的监听器
Receiver
第一个参数为待执行的命令字符串,第二个参数为执行该命令的命令对象
Parameters
listener
需要添加的监听器