PlayToManager.ShowPlayToUI | showPlayToUI method

Applies to Windows only

Displays the Play To UI.

Syntax


Windows.Media.PlayTo.PlayToManager.showPlayToUI();

Parameters

This method has no parameters.

Remarks

By default, users invoke the Devices charm to select a Play To target device to stream media to. You can also display the UI to enable users to select a Play To target device by using the ShowPlayToUI method.

For an example of how to use Play To in an application, see Quickstart: Using Play To in applications (JavaScript) or Quickstart: Using Play To in applications (C#/VB).

Examples


function showPlayTo() {
    Windows.Media.PlayTo.PlayToManager.showPlayToUI();
}


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media.PlayTo
Windows::Media::PlayTo [C++]

Metadata

Windows.winmd

See also

PlayToManager
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft