public static interface AdBreak.Builder extends SdkPojo, CopyableBuilder<AdBreak.Builder,AdBreak>
| Modifier and Type | Method and Description |
|---|---|
AdBreak.Builder |
messageType(MessageType messageType)
The SCTE-35 ad insertion type.
|
AdBreak.Builder |
messageType(String messageType)
The SCTE-35 ad insertion type.
|
AdBreak.Builder |
offsetMillis(Long offsetMillis)
How long (in milliseconds) after the beginning of the program that an ad starts.
|
default AdBreak.Builder |
slate(Consumer<SlateSource.Builder> slate)
Ad break slate configuration.
|
AdBreak.Builder |
slate(SlateSource slate)
Ad break slate configuration.
|
default AdBreak.Builder |
spliceInsertMessage(Consumer<SpliceInsertMessage.Builder> spliceInsertMessage)
This defines the SCTE-35
splice_insert() message inserted around the ad. |
AdBreak.Builder |
spliceInsertMessage(SpliceInsertMessage spliceInsertMessage)
This defines the SCTE-35
splice_insert() message inserted around the ad. |
default AdBreak.Builder |
timeSignalMessage(Consumer<TimeSignalMessage.Builder> timeSignalMessage)
Defines the SCTE-35
time_signal message inserted around the ad. |
AdBreak.Builder |
timeSignalMessage(TimeSignalMessage timeSignalMessage)
Defines the SCTE-35
time_signal message inserted around the ad. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAdBreak.Builder messageType(String messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT, TIME_SIGNAL.
messageType - The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT, TIME_SIGNAL.MessageType,
MessageTypeAdBreak.Builder messageType(MessageType messageType)
The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT, TIME_SIGNAL.
messageType - The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT, TIME_SIGNAL.MessageType,
MessageTypeAdBreak.Builder offsetMillis(Long offsetMillis)
How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.
offsetMillis - How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall
within 100ms of a segment boundary, otherwise the ad break will be skipped.AdBreak.Builder slate(SlateSource slate)
Ad break slate configuration.
slate - Ad break slate configuration.default AdBreak.Builder slate(Consumer<SlateSource.Builder> slate)
Ad break slate configuration.
This is a convenience method that creates an instance of theSlateSource.Builder avoiding the need to
create one manually via SlateSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to slate(SlateSource).
slate - a consumer that will call methods on SlateSource.Builderslate(SlateSource)AdBreak.Builder spliceInsertMessage(SpliceInsertMessage spliceInsertMessage)
This defines the SCTE-35 splice_insert() message inserted around the ad. For information about
using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.
spliceInsertMessage - This defines the SCTE-35 splice_insert() message inserted around the ad. For information
about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.default AdBreak.Builder spliceInsertMessage(Consumer<SpliceInsertMessage.Builder> spliceInsertMessage)
This defines the SCTE-35 splice_insert() message inserted around the ad. For information about
using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.
SpliceInsertMessage.Builder avoiding the
need to create one manually via SpliceInsertMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to spliceInsertMessage(SpliceInsertMessage).
spliceInsertMessage - a consumer that will call methods on SpliceInsertMessage.BuilderspliceInsertMessage(SpliceInsertMessage)AdBreak.Builder timeSignalMessage(TimeSignalMessage timeSignalMessage)
Defines the SCTE-35 time_signal message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert SCTE-35 message to the ad break. This message provides basic metadata about the ad
break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
timeSignalMessage - Defines the SCTE-35 time_signal message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert SCTE-35 message to the ad break. This message provides basic metadata about
the ad break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
default AdBreak.Builder timeSignalMessage(Consumer<TimeSignalMessage.Builder> timeSignalMessage)
Defines the SCTE-35 time_signal message inserted around the ad.
Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a
splice_insert SCTE-35 message to the ad break. This message provides basic metadata about the ad
break.
See section 9.7.4 of the 2022 SCTE-35 specification for more information.
This is a convenience method that creates an instance of theTimeSignalMessage.Builder avoiding the
need to create one manually via TimeSignalMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timeSignalMessage(TimeSignalMessage).
timeSignalMessage - a consumer that will call methods on TimeSignalMessage.BuildertimeSignalMessage(TimeSignalMessage)Copyright © 2023. All rights reserved.