User Tools

Site Tools


macros:function:playbackgroups.createplaybackgroupwithplaybacks

Function

PlaybackGroups.CreatePlaybackGroupWithPlaybacks

Void PlaybackGroups.CreatePlaybackGroupWithPlaybacks(String playbackGroupName, IEnumerable<PlaybackHandle> playbackHandles)
API https://api.avolites.com/15.0/api/PlaybackGroups.CreatePlaybackGroupWithPlaybacks.html
description Creates a new playback group with the specified playbacks as members.
namespace PlaybackGroups
parameter playbackGroupName ( String ) : The name of the new playback group.
playbackHandles ( IEnumerable ) : The playback handles to have in the group.
return value Void

See Playback Groups - Create and Add for various ways to pass the IEnumerable of playback handles. As this function is in the namespace PlaybackGroups it assumes any passed handle to be in this namespace too. You need to use Playbacks.FilterByPlaybackHandle to make sure the playbacks are looked up in the correct namespace.

Example in

Playback Groups - Create and Add:

<step>PlaybackGroups.CreatePlaybackGroupWithPlaybacks("Test", Playbacks.FilterByPlaybackHandle(Handles.ContextHandles))</step>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/playbackgroups.createplaybackgroupwithplaybacks.txt · Last modified: 2021/06/13 10:10 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki