CastingSource 클래스

정의

다른 디바이스로 보낼 수 있는 미디어 콘텐츠를 나타냅니다.

public ref class CastingSource sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CastingSource final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CastingSource
Public NotInheritable Class CastingSource
상속
Object Platform::Object IInspectable CastingSource
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

GetAsCastingSource 메서드를 호출하여 MediaPlayer, Image 또는 HTML Tag에서 이 개체를 가져올 수 있습니다. 현재 릴리스에서 앱은 미디어 재생에 MediaPlayerMediaPlayerElement 를 사용해야 하지만 레거시 MediaElement 컨트롤은 GetAsCastingSource 메서드도 제공합니다.

속성

PreferredSourceUri

DLNA ByRef와 함께 사용할 콘텐츠에 대한 대체 URI를 가져오거나 설정합니다.

적용 대상

추가 정보