EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

PlayToReceiver.FriendlyName | friendlyName property

Applies to Windows only

Gets or sets the display name of the Play To target.

Syntax


var friendlyName = playToReceiver.friendlyName;
playToReceiver.friendlyName = friendlyName;

Property value

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

The display name of the Play To target.

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

 

 

Mostrar:
© 2014 Microsoft