Interface WebView.InsecureContentDetectedCallback

All Superinterfaces:
FunctionPointer
Enclosing class:
WebView
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Deprecated public static interface WebView.InsecureContentDetectedCallback extends FunctionPointer
Deprecated.

Functional interface declaration of the InsecureContentDetectedCallback callback.

See Also:
  • Method Details

    • run

      Deprecated.
      Prior to 2.46, this signal was emitted when insecure content was loaded in a secure content. Since 2.46, this signal is generally no longer emitted.
    • upcall

      default void upcall(MemorySegment sourceWebView, int event)
      Deprecated.
      The upcall method is called from native code. The parameters are marshaled and run(InsecureContentEvent) is executed.
    • toCallback

      default MemorySegment toCallback(Arena arena)
      Deprecated.
      Creates a native function pointer to the upcall(MemorySegment, int) method.
      Specified by:
      toCallback in interface FunctionPointer
      Parameters:
      arena - the arena in which the function pointer is allocated
      Returns:
      the native function pointer