Class ViisightPlugin

java.lang.Object
com.castlabs.sdk.viisights.ViisightPlugin
All Implemented Interfaces:
Downloadable

public class ViisightPlugin extends Object implements Downloadable
Implements the Downloadable interface to provide resources
  • Constructor Details

    • ViisightPlugin

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

    • getResources

      @Nullable public DownloadableResource[] getResources(String remoteManifestUrl, File basePath, Bundle bundle)
      Returns an array of DownloadableResource objects that represent the resources to be downloaded. The resources are derived from the ViisightData object contained in the provided Bundle.
      Specified by:
      getResources in interface Downloadable
      Parameters:
      remoteManifestUrl - The URL of the remote manifest (not used in this implementation).
      basePath - The base path for downloads (not used in this implementation).
      bundle - The Bundle containing ViisightData and other necessary information.
      Returns:
      An array of DownloadableResource objects or null if no resources are available.