Package com.castlabs.sdk.viisights
Class ViisightPlugin
java.lang.Object
com.castlabs.sdk.viisights.ViisightPlugin
- All Implemented Interfaces:
Downloadable
Implements the Downloadable interface to provide resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResources(String remoteManifestUrl, File basePath, Bundle bundle) Returns an array of DownloadableResource objects that represent the resources to be downloaded.
-
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:
getResourcesin interfaceDownloadable- 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.
-