Package org.javacord.api.listener.user
Interface UserStartTypingListener
-
- All Superinterfaces:
GloballyAttachableListener,ObjectAttachableListener,PrivateChannelAttachableListener,ServerAttachableListener,ServerTextChannelAttachableListener,TextChannelAttachableListener,UserAttachableListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface UserStartTypingListener extends ServerAttachableListener, UserAttachableListener, TextChannelAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to users typing. If the user starts typing the "xyz is typing..." message is displayed for 5 seconds. It also stops if the user sent a message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonUserStartTyping(UserStartTypingEvent event)This method is called every time a user started typing.
-
-
-
Method Detail
-
onUserStartTyping
void onUserStartTyping(UserStartTypingEvent event)
This method is called every time a user started typing.- Parameters:
event- The event.
-
-