Package com.castlabs.sdk.viisights
Class ViisightModel
java.lang.Object
com.castlabs.sdk.viisights.ViisightModel
Represents the model for Viisight, containing scenes and hotspots.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionViisightModel(Scene[] scenes, Hotspot[] hotspots) Constructs a ViisightModel with the given scenes and hotspots. -
Method Summary
-
Field Details
-
scenes
An array of Scene objects representing the scenes in the Viisight model. -
hotspots
An array of Hotspot objects representing the hotspots in the Viisight model.
-
-
Constructor Details
-
ViisightModel
Constructs a ViisightModel with the given scenes and hotspots.- Parameters:
scenes- An array of Scene objects representing the scenes.hotspots- An array of Hotspot objects representing the hotspots.
-
-
Method Details
-
getScenes
Retrieves a list of scenes that are visible at the specified position in milliseconds.- Parameters:
positionMs- The position in milliseconds to check for visible scenes.- Returns:
- A list of Scene objects that are visible at the specified position.
-