Jaa


MediaPlayer.GetAsCastingSource Method

Definition

Gets a CastingSource representing the MediaPlayer, which allows its media to be cast to other devices.

public:
 virtual CastingSource ^ GetAsCastingSource() = GetAsCastingSource;
CastingSource GetAsCastingSource();
public CastingSource GetAsCastingSource();
function getAsCastingSource()
Public Function GetAsCastingSource () As CastingSource

Returns

The casting source.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

For more information on casting media to remote devices, see Media casting.

Applies to