Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.77 KB

image_playtosource.md

File metadata and controls

26 lines (18 loc) · 1.77 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Image.PlayToSource
winrt property

Windows.UI.Xaml.Controls.Image.PlayToSource

-description

Gets the information that is transmitted if the Image is used for a Play To scenario.

-property-value

A reference object that carries the Play To source information.

-remarks

You can use Play To to enable users to easily stream audio, video, or images from their computer to devices in their home network. Image.PlayToSource is specifically for the XAML images version of this scenario.

Play To is part of the Devices charm. Users open the Devices charm to select devices from their home network that they can stream the media content to. When a user selects a Play To target from the Devices charm, Play To fires the SourceRequested event. Play To then streams the media element that was passed to the SetSource method to the target device that the user has selected. Image.PlayToSource provides the PlayToSource controller object that the PlayToManager can use in this scenario. For an example of how to use Play To in an application, see PlayReady DRM.

-examples

-see-also

PlayToManager, PlayReady DRM, Play To sample