Windows Dev Center

PlayToSourceRequestedEventArgs class

Provides information about the SourceRequested event.

Syntax


public ref class PlayToSourceRequestedEventArgs sealed 

Members

The PlayToSourceRequestedEventArgs class has these types of members:

Methods

The PlayToSourceRequestedEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The PlayToSourceRequestedEventArgs class has these properties.

PropertyAccess typeDescription

SourceRequest

Read-onlyGets the media object to connect to a Play To target.

 

Remarks

You use the SourceRequest property of the PlayToSourceRequestedEventArgs class to pass media from your application to Play To during the SourceRequested event.

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

No code example is currently available or this language may not be supported.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Attributes

[Deprecated()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object
SourceRequested
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2015 Microsoft