MediaFrameSource.FormatChanged 이벤트

정의

MediaFrameSource의 현재 프레임 형식이 변경되면 발생합니다.

// Register
event_token FormatChanged(TypedEventHandler<MediaFrameSource, IInspectable const&> const& handler) const;

// Revoke with event_token
void FormatChanged(event_token const* cookie) const;

// Revoke with event_revoker
MediaFrameSource::FormatChanged_revoker FormatChanged(auto_revoke_t, TypedEventHandler<MediaFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaFrameSource,object> FormatChanged;
function onFormatChanged(eventArgs) { /* Your code */ }
mediaFrameSource.addEventListener("formatchanged", onFormatChanged);
mediaFrameSource.removeEventListener("formatchanged", onFormatChanged);
- or -
mediaFrameSource.onformatchanged = onFormatChanged;
Public Custom Event FormatChanged As TypedEventHandler(Of MediaFrameSource, Object) 

이벤트 유형

설명

CurrentFormat 속성에 액세스하여 미디어 프레임 원본의 현재 프레임 형식을 가져옵니다.

적용 대상