DRAG DROP
You are developing a Windows Store app Chat provides users with the ability to select a
video file from the file system. Once the file is selected, the video begins to play.
this.media is declared as a MediaElement in VideoPage.xaml and _position is declared as a
private TimeSpan member that stores the point at which the video stopped when the app
was terminated.
You need to ensure that if the app is terminated, the next time the app starts, the app
resumes playing the video at the point the video was stopped.
You have the following code: (Line numbers are included for reference only.)
Which code segments should you insert at lines 04, 13, and 17? (To answer, drag the
appropriate code segments to the correct locations in the answer area. Each code segment
may be used once, more than once, or not at all. You may need to drag the split bar
between panes or scroll to view content.)
this.media.MediaOpened += media_Ready;
media.SetSource(fileStream,””);
media.Postion = _postion;