Package io.ably.lib.objects.type
Interface ObjectLifecycleChange.Listener
- Enclosing interface:
- ObjectLifecycleChange
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for receiving notifications about Object lifecycle changes.
Implement this interface and register it with an ObjectLifecycleChange provider to be notified when lifecycle events occur, such as object creation or deletion.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonLifecycleEvent(@NotNull ObjectLifecycleEvent lifecycleEvent) Called when a lifecycle event occurs.
-
Method Details
-
onLifecycleEvent
Called when a lifecycle event occurs.- Parameters:
-
lifecycleEvent- The lifecycle event that occurred
-