MediaBindingEventArgs 클래스

정의

연결된 MediaSource미디어 콘텐츠를 바인딩하기 위한 Binding 이벤트 및 메서드에 대한 데이터를 제공합니다.

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

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10586.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v2.0에서 도입되었습니다.)

설명

이벤트를 처리하여 이 클래스의 인스턴스를 Binding 가져옵니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1703 15063 SetAdaptiveMediaSource
1703 15063 SetStorageFile
1803 17134 SetDownloadOperation

속성

MediaBinder

MediaBinder 바인딩 이벤트와 연결된 값을 가져옵니다.

메서드

GetDeferral()

이벤트 처리기가 반환된 후에도 Binding 앱이 작업을 계속 수행할 수 있음을 시스템에 알릴 수 있습니다.

SetAdaptiveMediaSource(AdaptiveMediaSource)

적응형 미디어 원본을 MediaSource 이벤트와 연결된 미디어 원본에 바인딩합니다.

SetDownloadOperation(DownloadOperation)

DownloadOperation 이벤트와 연결된 에 MediaSource 바인딩합니다.

SetStorageFile(IStorageFile)

스토리지 파일을 이벤트와 연결된 파일에 MediaSource 바인딩합니다.

SetStream(IRandomAccessStream, String)

에 바인딩 MediaSource할 미디어 콘텐츠를 설정합니다.

SetStreamReference(IRandomAccessStreamReference, String)

이벤트와 연결된 미디어 콘텐츠 스트림 참조를 MediaSource 바인딩합니다.

SetUri(Uri)

에 바인딩할 미디어 콘텐츠의 URI를 MediaSource설정합니다.

이벤트

Canceled

바인딩 작업이 취소될 때 발생합니다.

적용 대상