Interface ViisightsDecorator.Callback

Enclosing class:
ViisightsDecorator

public static interface ViisightsDecorator.Callback
Callback interface to notify about scene changes and model readiness.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the Viisight model is ready after loading.
    void
    onScene(long positionMs, List<Scene> scenes)
    Called when the scene changes based on the current playback position.
  • Method Details

    • onScene

      void onScene(long positionMs, List<Scene> scenes)
      Called when the scene changes based on the current playback position.
      Parameters:
      positionMs - The current playback position in milliseconds.
      scenes - The list of scenes active at the current position.
    • onModelReady

      void onModelReady(ViisightModel model)
      Called when the Viisight model is ready after loading.
      Parameters:
      model - The loaded Viisight model.