Skip to content

PlaylistBuilder🔗

Constructor🔗

new PlaylistBuilder()

Methods🔗

build🔗

Builds the object.

build()

interval🔗

Interval sets the time between switching views in a playlist.

FIXME: Is this based on a standardized format or what options are available? Can datemath be used?

interval(string $interval)

items🔗

The ordered list of items that the playlist will iterate over.

FIXME! This should not be optional, but changing it makes the godegen awkward

@param array<\Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Playlist\PlaylistItem>> $items

items(array $items)

name🔗

Name of the playlist.

name(string $name)

uid🔗

Unique playlist identifier. Generated on creation, either by the

creator of the playlist of by the application.

uid(string $uid)

See also🔗