# Index

A B C D E G H I L N O P S U V W
All Classes and Interfaces|All Packages

## A

Attribute - Class in com.castlabs.sdk.viisights
  Represents an attribute with a class type, name, value, and score.
Attribute(String, String, String, int) - Constructor for class com.castlabs.sdk.viisights.Attribute
  Constructs a new Attribute object.
attributes - Variable in class com.castlabs.sdk.viisights.ContentClass
  An array of attributes associated with the content class.

## B

bind(Uri, PlayerController, ViisightsDecorator.Callback) - Method in class com.castlabs.sdk.viisights.ViisightsDecorator
  Binds the ViisightsDecorator to a PlayerController and starts loading the model from the given URI.
BlurEffect - Class in com.castlabs.sdk.viisights.effects
  Implements a blur effect shader.
BlurEffect(int) - Constructor for class com.castlabs.sdk.viisights.effects.BlurEffect
  Creates a new BlurEffect.

## C

categories - Variable in class com.castlabs.sdk.viisights.Scene
  Array of categories associated with the scene.
Category - Class in com.castlabs.sdk.viisights
  Represents a category with a label, ID, type, name, and score.
Category(String, String, String, String, double) - Constructor for class com.castlabs.sdk.viisights.Category
  Constructs a new Category object.
categoryType - Variable in class com.castlabs.sdk.viisights.Category
  The type of the category.
categoryType - Variable in class com.castlabs.sdk.viisights.Hotspot
  The category type of the hotspot (e.g., "person", "vehicle").
classType - Variable in class com.castlabs.sdk.viisights.Attribute
  The class type of the attribute.
classType - Variable in class com.castlabs.sdk.viisights.ContentClass
  The type of the content class.
com.castlabs.sdk.viisights - package com.castlabs.sdk.viisights
com.castlabs.sdk.viisights.effects - package com.castlabs.sdk.viisights.effects
compareTo(Scene) - Method in class com.castlabs.sdk.viisights.Scene
ContentClass - Class in com.castlabs.sdk.viisights
  Represents a content class with its associated attributes.
ContentClass(String, int, String, Attribute[]) - Constructor for class com.castlabs.sdk.viisights.ContentClass
  Constructs a new ContentClass object.
contentClasses - Variable in class com.castlabs.sdk.viisights.Scene
  Array of content classes associated with the scene.
create(String) - Static method in class com.castlabs.sdk.viisights.ViisightData
  Creates a ViisightData instance from a JSON string.
CREATOR - Static variable in class com.castlabs.sdk.viisights.ViisightData
  Parcelable creator for ViisightData.

## D

describeContents() - Method in class com.castlabs.sdk.viisights.ViisightData

## E

endMs - Variable in class com.castlabs.sdk.viisights.Hotspot
  The end time of the hotspot in milliseconds.
endMs - Variable in class com.castlabs.sdk.viisights.Scene
  End time of the scene in milliseconds.

## G

getAbsoluteHotspotsUri(String) - Method in class com.castlabs.sdk.viisights.ViisightData
  Returns the absolute URI for hotspots based on the manifest URL.
getAbsoluteScenesThumbsUrl(String) - Method in class com.castlabs.sdk.viisights.ViisightData
  Returns the absolute URL for scene thumbnails based on the manifest URL.
getAbsoluteScenesUri(String) - Method in class com.castlabs.sdk.viisights.ViisightData
  Returns the absolute URI for scenes based on the manifest URL.
getAbsoluteUri(String) - Method in class com.castlabs.sdk.viisights.ViisightData
  Returns a string representation of the ViisightData object.
getResources(String, File, Bundle) - Method in class com.castlabs.sdk.viisights.ViisightPlugin
  Returns an array of DownloadableResource objects that represent the resources to be downloaded.
getScenes(long) - Method in class com.castlabs.sdk.viisights.ViisightModel
  Retrieves a list of scenes that are visible at the specified position in milliseconds.
getShader(GLSurfaceView) - Method in class com.castlabs.sdk.viisights.effects.BlurEffect
  Returns the shader string for the blur effect.
getShader(GLSurfaceView) - Method in class com.castlabs.sdk.viisights.effects.GrainEffect
getShader(GLSurfaceView) - Method in class com.castlabs.sdk.viisights.effects.NoEffect
getShader(GLSurfaceView) - Method in interface com.castlabs.sdk.viisights.effects.ShaderInterface
  Returns Shader code
GLPlayerView - Class in com.castlabs.sdk.viisights.effects
  A custom PlayerView that uses OpenGL for rendering video content.
GLPlayerView(Context) - Constructor for class com.castlabs.sdk.viisights.effects.GLPlayerView
  Constructor for GLPlayerView.
GLPlayerView(Context, AttributeSet) - Constructor for class com.castlabs.sdk.viisights.effects.GLPlayerView
  Constructor for GLPlayerView with attributes.
GLPlayerView(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.viisights.effects.GLPlayerView
  Constructor for GLPlayerView with attributes and default style.
GLVideoSurfaceView - Class in com.castlabs.sdk.viisights.effects
  This GLSurfaceView can be used to display video that is being played by media player and at the same time different effect can be applied on the video.
GLVideoSurfaceView(Context) - Constructor for class com.castlabs.sdk.viisights.effects.GLVideoSurfaceView
  Constructor for GLVideoSurfaceView.
GLVideoSurfaceView(Context, AttributeSet) - Constructor for class com.castlabs.sdk.viisights.effects.GLVideoSurfaceView
  Constructor for GLVideoSurfaceView.
GrainEffect - Class in com.castlabs.sdk.viisights.effects
  Applies film grain effect to video.
GrainEffect(float) - Constructor for class com.castlabs.sdk.viisights.effects.GrainEffect
  Initialize Effect

## H

Hotspot - Class in com.castlabs.sdk.viisights
  Represents a hotspot in a video, indicating a specific event or object of interest within a defined time range.
Hotspot(String, long, long, String, String, String, double) - Constructor for class com.castlabs.sdk.viisights.Hotspot
  Constructs a new Hotspot object.
HotspotPlot - Class in com.castlabs.sdk.viisights
  A custom view that displays hotspots or scenes as boxes on a timeline.
HotspotPlot(Context) - Constructor for class com.castlabs.sdk.viisights.HotspotPlot
  Constructor for HotspotPlot.
HotspotPlot(Context, AttributeSet) - Constructor for class com.castlabs.sdk.viisights.HotspotPlot
  Constructor for HotspotPlot with attributes.
HotspotPlot(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.viisights.HotspotPlot
  Constructor for HotspotPlot with attributes and style.
hotspots - Variable in class com.castlabs.sdk.viisights.ViisightModel
  An array of Hotspot objects representing the hotspots in the Viisight model.
hotspotsUrl - Variable in class com.castlabs.sdk.viisights.ViisightData
  URL for the Viisight hotspots.

## I

id - Variable in class com.castlabs.sdk.viisights.Category
  The ID of the category.
id - Variable in class com.castlabs.sdk.viisights.Hotspot
  A unique identifier for the hotspot.
initialize(TextureView.SurfaceTextureListener, PlayerController) - Method in class com.castlabs.sdk.viisights.effects.GLVideoSurfaceView
  Initializes the GLVideoSurfaceView.
isVisible(long) - Method in class com.castlabs.sdk.viisights.Scene
  Checks if the scene is visible at a given position in milliseconds.

## L

label - Variable in class com.castlabs.sdk.viisights.Category
  The label of the category.
label - Variable in class com.castlabs.sdk.viisights.Hotspot
  A descriptive label for the hotspot.

## N

name - Variable in class com.castlabs.sdk.viisights.Attribute
  The name of the attribute.
name - Variable in class com.castlabs.sdk.viisights.Category
  The name of the category.
name - Variable in class com.castlabs.sdk.viisights.ContentClass
  The name of the content class.
name - Variable in class com.castlabs.sdk.viisights.Hotspot
  The name associated with the hotspot, which can be more specific than the label.
NoEffect - Class in com.castlabs.sdk.viisights.effects
  Shader implementation that does not apply any effect to the video.
NoEffect() - Constructor for class com.castlabs.sdk.viisights.effects.NoEffect
  Default constructor for NoEffect.

## O

onModelReady(ViisightModel) - Method in interface com.castlabs.sdk.viisights.ViisightsDecorator.Callback
  Called when the Viisight model is ready after loading.
onScene(long, List<Scene>) - Method in interface com.castlabs.sdk.viisights.ViisightsDecorator.Callback
  Called when the scene changes based on the current playback position.

## P

parse(String) - Static method in class com.castlabs.sdk.viisights.ViisightsParser
  Parses the given JSON data string into a ViisightModel.

## S

Scene - Class in com.castlabs.sdk.viisights
  Represents a scene in the Viisight system, defined by its start and end times,
Scene(long, long, ContentClass[], Category[]) - Constructor for class com.castlabs.sdk.viisights.Scene
  Constructs a Scene object with the specified parameters.
scenes - Variable in class com.castlabs.sdk.viisights.ViisightModel
  An array of Scene objects representing the scenes in the Viisight model.
scenesThumbsUrl - Variable in class com.castlabs.sdk.viisights.ViisightData
  URL for the thumbnails of the Viisight scenes.
scenesUrl - Variable in class com.castlabs.sdk.viisights.ViisightData
  URL for the Viisight scenes.
score - Variable in class com.castlabs.sdk.viisights.Attribute
  The score of the attribute.
score - Variable in class com.castlabs.sdk.viisights.Category
  The score of the category.
score - Variable in class com.castlabs.sdk.viisights.ContentClass
  The score of the content class.
score - Variable in class com.castlabs.sdk.viisights.Hotspot
  A confidence score for the detected hotspot, typically ranging from 0.0 to 1.0.
setEffectVisible(boolean) - Method in class com.castlabs.sdk.viisights.effects.GLPlayerView
  Sets the visibility of the visual effect applied to the video.
setEffectVisible(boolean) - Method in class com.castlabs.sdk.viisights.effects.GLVideoSurfaceView
  Sets the visibility of the effect.
setHotspots(Hotspot[]) - Method in class com.castlabs.sdk.viisights.HotspotPlot
  Sets the hotspots to be displayed in the view.
setScenes(Scene[], String) - Method in class com.castlabs.sdk.viisights.HotspotPlot
  Sets the scenes to be displayed in the view along with the category name.
ShaderInterface - Interface in com.castlabs.sdk.viisights.effects
  Interface for shaders used in the Viisights plugin.
startMs - Variable in class com.castlabs.sdk.viisights.Hotspot
  The start time of the hotspot in milliseconds.
startMs - Variable in class com.castlabs.sdk.viisights.Scene
  Start time of the scene in milliseconds.

## U

unbind() - Method in class com.castlabs.sdk.viisights.ViisightsDecorator
  Unbinds the ViisightsDecorator from the PlayerController and clears references.
update(long, long) - Method in class com.castlabs.sdk.viisights.HotspotPlot
  Updates the current playback position and duration of the media.
url - Variable in class com.castlabs.sdk.viisights.ViisightData
  URL for the Viisight tracks.

## V

value - Variable in class com.castlabs.sdk.viisights.Attribute
  The value of the attribute.
ViisightData - Class in com.castlabs.sdk.viisights
  ViisightData class represents the data structure for Viisight tracks, scenes, and hotspots.
ViisightModel - Class in com.castlabs.sdk.viisights
  Represents the model for Viisight, containing scenes and hotspots.
ViisightModel(Scene[], Hotspot[]) - Constructor for class com.castlabs.sdk.viisights.ViisightModel
  Constructs a ViisightModel with the given scenes and hotspots.
ViisightPlugin - Class in com.castlabs.sdk.viisights
  Implements the Downloadable interface to provide resources
ViisightPlugin() - Constructor for class com.castlabs.sdk.viisights.ViisightPlugin
  Default constructor for ViisightPlugin.
ViisightsDecorator - Class in com.castlabs.sdk.viisights
  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.
ViisightsDecorator() - Constructor for class com.castlabs.sdk.viisights.ViisightsDecorator
  Default constructor for ViisightsDecorator.
ViisightsDecorator.Callback - Interface in com.castlabs.sdk.viisights
  Callback interface to notify about scene changes and model readiness.
ViisightsParser - Class in com.castlabs.sdk.viisights
  Parses the JSON data from Viisights into a structured model.

## W

writeToParcel(Parcel, int) - Method in class com.castlabs.sdk.viisights.ViisightData

A B C D E G H I L N O P S U V W
All Classes and Interfaces|All Packages