Function
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.
Playback Groups - Create and Add:
<step>PlaybackGroups.CreatePlaybackGroupWithPlaybacks("Test", Playbacks.FilterByPlaybackHandle(Handles.ContextHandles))</step>