Google Ads Ad Manager V1 Client - Class HlsSettings (0.8.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class HlsSettings.

LiveStream settings that are specific to the HTTP live streaming (HLS) protocol.

Generated from protobuf message google.ads.admanager.v1.HlsSettings

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ playlist_type int

Immutable. Indicates the type of the playlist associated with this live stream. The playlist type is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Will default to LIVE.

↳ master_playlist_settings MasterPlaylistSettings

Optional. The settings for the master playlist. If it is not set will default to a MasterPlaylistSettings with a refresh type of AUTOMATIC.

getPlaylistType

Immutable. Indicates the type of the playlist associated with this live stream. The playlist type is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Will default to LIVE.

Returns
Type Description
int

hasPlaylistType

clearPlaylistType

setPlaylistType

Immutable. Indicates the type of the playlist associated with this live stream. The playlist type is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Will default to LIVE.

Parameter
Name Description
var int
Returns
Type Description
$this

getMasterPlaylistSettings

Optional. The settings for the master playlist. If it is not set will default to a MasterPlaylistSettings with a refresh type of AUTOMATIC.

Returns
Type Description
MasterPlaylistSettings|null

hasMasterPlaylistSettings

clearMasterPlaylistSettings

setMasterPlaylistSettings

Optional. The settings for the master playlist. If it is not set will default to a MasterPlaylistSettings with a refresh type of AUTOMATIC.

Parameter
Name Description
var MasterPlaylistSettings
Returns
Type Description
$this