Interface ToastSink
public interface ToastSink
Sink for the user-facing toast notifications raised during login flows. The host maps
ToastSink.Level
onto its own notification styling.- Since:
- 0.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumSeverity of a toast, mapped by the host onto its own styles. -
Method Summary
Modifier and TypeMethodDescriptionvoidtoast(ToastSink.Level level, String title, String description, int durationMs) Publishes a toast.
-
Method Details
-
toast
Publishes a toast.- Parameters:
level- the severitytitle- the headingdescription- the body textdurationMs- how long to show it, in milliseconds- Since:
- 0.1.0
-