Interface OnDestroyListener<T>
- Type Parameters:
T- The type of the object being managed by the ActiveObjectContext.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This functional interface defines a contract for listeners that need to be notified when an object is destroyed.
- Author:
- Sergey Grachev
-
Method Summary
Modifier and TypeMethodDescriptionvoidonObjectDestroy(ActiveObjectContext<T> context) This method is called when an object is destroyed.
-
Method Details
-
onObjectDestroy
This method is called when an object is destroyed.- Parameters:
context- An instance of ActiveObjectContext that contains information about the destroyed object.
-