Interface Cast.ConnectionResult

Enclosing class:
Cast
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 Cast.ConnectionResult
Connection callback.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(boolean result, int port, boolean swRevMatch)
    Called with the request result.
  • Method Details

    • accept

      void accept(boolean result, int port, boolean swRevMatch)
      Called with the request result.
      Parameters:
      result - the result (success/fail).
      port - the UDP port that will be used for streaming (-1 if failed).
      swRevMatch - whether the SW revisions between the API and the Clarius App match.