Package com.castlabs.sdk.viisights
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 TypeMethodDescriptionvoidonModelReady(ViisightModel model) Called when the Viisight model is ready after loading.voidCalled when the scene changes based on the current playback position.
-
Method Details
-
onScene
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
Called when the Viisight model is ready after loading.- Parameters:
model- The loaded Viisight model.
-