PlaylistMediaSource.SwitchToClip | switchToClip method
Switches the current media clip to the media clip in the Clips list with the specified index.
Syntax
var playableMediaClip = playlistMediaSource.switchToClip(clipIndex);
public PlayableMediaClip SwitchToClip(
uint clipIndex
)
Public Function SwitchToClip(
clipIndex As UInteger
) As PlayableMediaClip
public:
PlayableMediaClip^ SwitchToClip(
unsigned int clipIndex
)
Parameters
clipIndex
Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]The index in the Clips list of the media clip to switch to.
Return value
Type: PlayableMediaClip
The media clip at the specified index.
Requirements
Minimum supported client |
Windows 10 Insider Preview |
Minimum supported server |
Windows Server Technical Preview |
Minimum supported phone |
Windows 10 Mobile Insider Preview |
Namespace |
Windows.Media.Playlists Windows::Media::Playlists [C++] |
Metadata |
Windows.winmd |