PlayToConnection.State | state property

Applies to Windows and Windows Phone

Gets the state of the Play To connection.

Syntax


var state = playToConnection.state;

Property value

Type: PlayToConnectionState

The state of the Play To connection.

Remarks

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

PlayToConnection
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft