Interface NotificationHost
@NonExtendable
public interface NotificationHost
Host definition providing means for notification about various events emitted by a
Gadget.
The host will be provided with the gadget's context.- Since:
- 4.2.405
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonModification(@NotNull GadgetIdentifier identifier) Notify about a modification in value.voidonStateChange(@NotNull GadgetIdentifier identifier) Notify about a state change in value.
-
Method Details
-
onModification
Notify about a modification in value.- Parameters:
identifier- The identifier of the notifying gadget.- Since:
- 4.2.405
-
onStateChange
Notify about a state change in value.- Parameters:
identifier- The identifier of the notifying gadget.- Since:
- 5.2.25
-