toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot.event
/
BlockingEventListenerInterceptor
Blocking
Event
Listener
Interceptor
@
Api4J
interface
BlockingEventListenerInterceptor
:
EventListenerInterceptor
(
source
)
为Java提供的阻塞调用的
EventListenerInterceptor
接口方案。
See also
Event
Listener
Interceptor
Members
Properties
point
Link copied to clipboard
open
override
val
point
:
EventListenerInterceptor.Point
监听函数拦截器的拦截点.
priority
Link copied to clipboard
open
override
val
priority
:
Int
优先级。
Functions
do
Intercept
Link copied to clipboard
@
Api4J
abstract
fun
doIntercept
(
context
:
EventListenerInterceptor.Context
)
:
EventResult
阻塞的拦截函数。
intercept
Link copied to clipboard
open
suspend override
fun
intercept
(
context
:
EventListenerInterceptor.Context
)
:
EventResult
对当前指定的拦截内容进行处理。