Package com.castlabs.sdk.viisights

# Class Scene

java.lang.Object
com.castlabs.sdk.viisights.Scene

All Implemented Interfaces:
  `Comparable<Scene>`

public class Scene extends Object implements Comparable<Scene>

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final Category[]`
  `categories`
  `final ContentClass[]`
  `contentClasses`
  `final long`
  `endMs`
  `final long`
  `startMs`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Scene(long startMs, long endMs, ContentClass[] contentClasses, Category[] categories)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(Scene another)`
  `boolean`
  `isVisible(long positionMs)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### startMs

    public final long startMs

  - ### endMs

    public final long endMs

  - ### contentClasses

    public final ContentClass[] contentClasses

  - ### categories

    public final Category[] categories

- ## Constructor Details

  - ### Scene

    public Scene(long startMs, long endMs, ContentClass[] contentClasses, Category[] categories)

- ## Method Details

  - ### isVisible

    public boolean isVisible(long positionMs)

  - ### compareTo

    public int compareTo(Scene another)
    Specified by:
      `compareTo` in interface `Comparable<Scene>`