Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Transition = Transition' {}
- newTransition :: RelativePosition -> Text -> Transition
- transition_durationMillis :: Lens' Transition (Maybe Integer)
- transition_relativeProgram :: Lens' Transition (Maybe Text)
- transition_scheduledStartTimeMillis :: Lens' Transition (Maybe Integer)
- transition_relativePosition :: Lens' Transition RelativePosition
- transition_type :: Lens' Transition Text
Documentation
data Transition Source #
Program transition configuration.
See: newTransition
smart constructor.
Transition' | |
|
Instances
Create a value of Transition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:durationMillis:Transition'
, transition_durationMillis
- The duration of the live program in seconds.
$sel:relativeProgram:Transition'
, transition_relativeProgram
- The name of the program that this program will be inserted next to, as
defined by RelativePosition
.
$sel:scheduledStartTimeMillis:Transition'
, transition_scheduledStartTimeMillis
- The date and time that the program is scheduled to start, in epoch
milliseconds.
$sel:relativePosition:Transition'
, transition_relativePosition
- The position where this program will be inserted relative to the
RelativePosition
.
$sel:type':Transition'
, transition_type
- Defines when the program plays in the schedule. You can set the value to
ABSOLUTE
or RELATIVE
.
ABSOLUTE
- The program plays at a specific wall clock time. This
setting can only be used for channels using the LINEAR
PlaybackMode
.
Note the following considerations when using ABSOLUTE
transitions:
If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.
If there are gaps in playback, MediaTailor plays the FillerSlate
you
configured for your linear channel.
RELATIVE
- The program is inserted into the schedule either before or
after a program that you specify via RelativePosition
.
transition_durationMillis :: Lens' Transition (Maybe Integer) Source #
The duration of the live program in seconds.
transition_relativeProgram :: Lens' Transition (Maybe Text) Source #
The name of the program that this program will be inserted next to, as
defined by RelativePosition
.
transition_scheduledStartTimeMillis :: Lens' Transition (Maybe Integer) Source #
The date and time that the program is scheduled to start, in epoch milliseconds.
transition_relativePosition :: Lens' Transition RelativePosition Source #
The position where this program will be inserted relative to the
RelativePosition
.
transition_type :: Lens' Transition Text Source #
Defines when the program plays in the schedule. You can set the value to
ABSOLUTE
or RELATIVE
.
ABSOLUTE
- The program plays at a specific wall clock time. This
setting can only be used for channels using the LINEAR
PlaybackMode
.
Note the following considerations when using ABSOLUTE
transitions:
If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.
If there are gaps in playback, MediaTailor plays the FillerSlate
you
configured for your linear channel.
RELATIVE
- The program is inserted into the schedule either before or
after a program that you specify via RelativePosition
.