Function
IEnumerable`1 Playbacks.FilterByPlaybackHandle(IEnumerable<Handle> handles)
API | https://api.avolites.com/15.0/api/Playbacks.FilterByPlaybackHandle.html |
---|---|
description | Returns the same list but with only handles that derive from a playback handle. |
namespace | Playbacks |
parameter | handles ( IEnumerable ) : The list of handles. |
return value | IEnumerable |
Playback Groups - Create and Add:
<step>PlaybackGroups.CreatePlaybackGroupWithPlaybacks("Test", Playbacks.FilterByPlaybackHandle(Handles.ContextHandles))</step>
Here the outer function CreatePlaybackGroupWithPlaybacks()
lives in the namespace PlaybackGroups but requires the second parameter to be a list of Playback handles. Playbacks.FilterByPlaybackHandle()
makes sure the passed list is looked up correctly.