Interface PushFrameMocker

All Known Implementing Classes:
PushFrameMocker.CppProxy

public interface PushFrameMocker
This class will mock data from default source to data from file. Used for testing and debug.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Interface Description
    static class  PushFrameMocker.CppProxy  
  • Method Summary

    Modifier and Type Method Description
    static PushFrameMocker create​(EffectPlayer player, FramesProvider provider)  
    void process​(java.lang.String outputFile)
    Parse file and start pushing frame to Effect player.
  • Method Details

    • process

      void process​(@NonNull java.lang.String outputFile)
      Parse file and start pushing frame to Effect player.
      Parameters:
      outputFile - path to file to write processed data in internal format.
    • create

      @Nullable static PushFrameMocker create​(@Nullable EffectPlayer player, @Nullable FramesProvider provider)
      Parameters:
      player - effect player to which attach this provider.
      provider - provider to fetch frames from