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
    --- | --- | ---
    `Category[]` | `categories` |
    `ContentClass[]` | `contentClasses` |
    `long` | `endMs` |
    `long` | `startMs` |

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### startMs

          public final long startMs

    - #### endMs

          public final long endMs

    - #### contentClasses

          public final ContentClass[] contentClasses

    - #### categories

          public final Category[] categories

  - ### Constructor Detail

    - #### Scene

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

  - ### Method Detail

    - #### isVisible

          public boolean isVisible​(long positionMs)

    - #### compareTo

          public int compareTo​(Scene another)

      Specified by:
        `compareTo` in interface `Comparable<Scene>`