enum PlaylistType (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Service
LiveStreamEventService
Describes the type of the playlist associated with this live stream. This is analagous to the
EXT-X-PLAYLIST-TYPE HLS tag. Use PlaylistType.EVENT
for streams with the value
"#EXT-X-PLAYLIST-TYPE:EVENT" and use PlaylistType.LIVE
for streams without the tag.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
EVENT
|
The playlist is an event, which means that media segments can only be added to the end of the
playlist. This allows viewers to scrub back to the beginning of the playlist.
|
LIVE
|
The playlist is a live stream and there are no restrictions on whether media segments can be
removed from the beginning of the playlist.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The `PlaylistType` enumeration within the `LiveStreamEventService` defines the type of HLS playlist. `EVENT` indicates a playlist where media segments are appended to the end, enabling viewers to scrub back. `LIVE` represents a stream with no restrictions on removing segments from the beginning. `UNKNOWN` is used when the actual value isn't available in the requested API version. The associated namespace is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum PlaylistType (v202502)\n\n**Service** \n**LiveStreamEventService** **Dependencies** \n[HlsSettings](/ad-manager/api/reference/v202502/LiveStreamEventService.HlsSettings) \n▼\n**PlaylistType**\n\nDescribes the type of the playlist associated with this live stream. This is analagous to the\nEXT-X-PLAYLIST-TYPE HLS tag. Use `PlaylistType.EVENT` for streams with the value\n\"#EXT-X-PLAYLIST-TYPE:EVENT\" and use `PlaylistType.LIVE` for streams without the tag.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `EVENT` | The playlist is an event, which means that media segments can only be added to the end of the playlist. This allows viewers to scrub back to the beginning of the playlist. |\n| `LIVE` | The playlist is a live stream and there are no restrictions on whether media segments can be removed from the beginning of the playlist. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]