PrepAway - Latest Free Exam Questions & Answers

Which code segment should you add to the Click event handler of btnPlayTo?

You are developing a Windows Store app.
The app contains a page named MainPage.
The page contains a media element named videoPlayer and a button named btnPlayTo.
You need to provide users with the ability to select a device that will display the contents of
videoPlayer when they click btnPlayTo.
Which code segment should you add to the Click event handler of btnPlayTo?

PrepAway - Latest Free Exam Questions & Answers

A.
PlayToManager.ShowPlayToUI ();

B.
PlayToReceiver ptr = new PlayToReceiver();
await ptr.NotifyPlaying()”

C.
PlayToReceiver ptr = new PlayToReceiver();
await ptr.StartAsync();

D.
PlayToManager.GetForCurrentView();

Explanation:
http://msdn.microsoft.com/enus/library/windows/apps/windows.media.playto.playtomanager.showplaytoui.aspx


Leave a Reply