PlayToReceiver.SupportsAudio | supportsAudio property

Applies to Windows only

Gets or sets a value that indicates whether the Play To target supports audio.

Syntax


var supportsAudio = playToReceiver.supportsAudio;
playToReceiver.supportsAudio = supportsAudio;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the Play To target supports audio; otherwise false.

Remarks

For an example of creating a software Play To receiver, see Quickstart: Creating a Play To Receiver (JavaScript) or Quickstart: Creating a Play To Receiver (C#/VB).


    receiver.friendlyName = "Sample Play To Receiver";
    receiver.supportsAudio = false;
    receiver.supportsVideo = true;
    receiver.supportsImage = false;


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

Capabilities

privateNetworkClientServer

See also

PlayToReceiver
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft