Class Effect.CppProxy

java.lang.Object
com.banuba.sdk.effect_player.Effect.CppProxy
All Implemented Interfaces:
Effect
Enclosing interface:
Effect

public static final class Effect.CppProxy
extends java.lang.Object
implements Effect
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.banuba.sdk.effect_player.Effect

    Effect.CppProxy
  • Method Summary

    Modifier and Type Method Description
    void _djinni_private_destroy()  
    void callJsMethod​(java.lang.String methodName, java.lang.String params)
    Adds js method call to call queue.
    protected void finalize()  
    void reset()
    reset effect state MUST be called from the render thread
    java.lang.String url()
    Thread-safe.

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws java.lang.Throwable
      Overrides:
      finalize in class java.lang.Object
      Throws:
      java.lang.Throwable
    • url

      public java.lang.String url()
      Description copied from interface: Effect
      Thread-safe. May be called from any thread
      Specified by:
      url in interface Effect
    • callJsMethod

      public void callJsMethod​(java.lang.String methodName, java.lang.String params)
      Description copied from interface: Effect
      Adds js method call to call queue. Queue is performed during the *draw* operation. If there is an effect in loading state, all calls will be performed when the effect loading is finished. Thread-safe. May be called from any thread
      Specified by:
      callJsMethod in interface Effect
      Parameters:
      methodName - JS global function name. Member functions are not supported.
      params - Function arguments as JSON string.
    • reset

      public void reset()
      Description copied from interface: Effect
      reset effect state MUST be called from the render thread
      Specified by:
      reset in interface Effect