com.vaadin.flow.component.page.

Interface WebStorage.Callback

All Superinterfaces:

Serializable

Enclosing interface:

WebStorage

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 static interface WebStorage.Callback extends Serializable

This callback is notified after the value has been retrieved from the client side.

  • Method Summary

    Modifier and Type
    Method
    Description
    void

    This method is called when the value detection is complete.

  • Method Details

    • onValueDetected

      void onValueDetected(String value)

      This method is called when the value detection is complete.

      Parameters:

      value - the value or null if the value was not available.