Interface AiServiceCompletedListener
- All Superinterfaces:
AiServiceListener<AiServiceCompletedEvent>
- 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 AiServiceCompletedListener
extends AiServiceListener<AiServiceCompletedEvent>
A listener for
AiServiceCompletedEvent
, which represents an event
that occurs upon the completion of an AI Service invocation.
This interface extends the generic AiServiceListener
interface,
allowing it to specifically listen for completion events.-
Method Summary
Modifier and TypeMethodDescriptiondefault Class
<AiServiceCompletedEvent> Retrieves the class object representing the type ofAiServiceEvent
that this listener listens for.Methods inherited from interface AiServiceListener
onEvent
-
Method Details
-
getEventClass
Description copied from interface:AiServiceListener
Retrieves the class object representing the type ofAiServiceEvent
that this listener listens for.- Specified by:
getEventClass
in interfaceAiServiceListener<AiServiceCompletedEvent>
- Returns:
- the
Class
object of the event type that this listener is associated with
-