Class ViisightsDecorator

java.lang.Object
com.castlabs.sdk.viisights.ViisightsDecorator

public class ViisightsDecorator extends Object
ViisightsDecorator is a utility class that integrates with the PlayerController to load and parse Viisights data from a given URI, and provides scene information based on the current playback position.
  • Constructor Details

    • ViisightsDecorator

      public ViisightsDecorator()
      Default constructor for ViisightsDecorator.
  • Method Details

    • bind

      public void bind(Uri url, PlayerController playerController, ViisightsDecorator.Callback callback)
      Binds the ViisightsDecorator to a PlayerController and starts loading the model from the given URI.
      Parameters:
      url - The URI to load the Viisights data from.
      playerController - The PlayerController to bind to.
      callback - The callback to notify about scene changes and model readiness.
    • unbind

      public void unbind()
      Unbinds the ViisightsDecorator from the PlayerController and clears references.