Interface MessageCallback

All Superinterfaces:
org.teavm.jso.JSObject
All Known Implementing Classes:
PeerjsConnection
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 interface MessageCallback extends org.teavm.jso.JSObject
JavaScript function interface that is used to receive name/value messages in callback functions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(String name, String value)
     

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details