com.brightcove.ssai.timeline

## Class TimelineFactory

- java.lang.Object
- - com.brightcove.ssai.timeline.TimelineFactory

-     public final class TimelineFactory
      extends java.lang.Object

  A Timeline Factory class that creates the appropriate Timeline according to the SSAIWrapper object received.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Timeline` | `create(SSAIWrapper ssaiWrapper)` Gets the concrete Timeline instance.

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

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

- - ### Method Detail

    - #### create

          @NonNull
          public static Timeline create(@NonNull
                                                 SSAIWrapper ssaiWrapper)
                                          throws java.lang.Exception

      Gets the concrete Timeline instance.
      Parameters:
        `ssaiWrapper` - the ssai wrapper.
      Returns:
        the timeline.
      Throws:
        `java.lang.Exception`