Enum AdMarkerHls
- All Implemented Interfaces:
Serializable,Comparable<AdMarkerHls>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:36.042Z")
@Stability(Experimental)
public enum AdMarkerHls
extends Enum<AdMarkerHls>
(experimental) Choose how SCTE-35 ad markers are included in HLS and LL-HLS manifests.
Example:
Channel channel;
OriginEndpoint.Builder.create(this, "Endpoint")
.channel(channel)
.segment(Segment.cmaf())
.manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder()
.manifestName("index")
.manifestWindow(Duration.seconds(60))
.programDateTimeInterval(Duration.seconds(60))
.scteAdMarkerHls(AdMarkerHls.DATERANGE)
.build())))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(experimental) Insert EXT-X-DATERANGE tags to signal ad content.(experimental) Insert enhanced SCTE-35 tags for ad content. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdMarkerHlsReturns the enum constant of this type with the specified name.static AdMarkerHls[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DATERANGE
(experimental) Insert EXT-X-DATERANGE tags to signal ad content. -
SCTE35_ENHANCED
(experimental) Insert enhanced SCTE-35 tags for ad content.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-