MediaSource.OpenOperationCompleted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于 MediaSource 開啟作業完成時。
// Register
event_token OpenOperationCompleted(TypedEventHandler<MediaSource, MediaSourceOpenOperationCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void OpenOperationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
MediaSource::OpenOperationCompleted_revoker OpenOperationCompleted(auto_revoke_t, TypedEventHandler<MediaSource, MediaSourceOpenOperationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaSource,MediaSourceOpenOperationCompletedEventArgs> OpenOperationCompleted;
function onOpenOperationCompleted(eventArgs) { /* Your code */ }
mediaSource.addEventListener("openoperationcompleted", onOpenOperationCompleted);
mediaSource.removeEventListener("openoperationcompleted", onOpenOperationCompleted);
- or -
mediaSource.onopenoperationcompleted = onOpenOperationCompleted;
Public Custom Event OpenOperationCompleted As TypedEventHandler(Of MediaSource, MediaSourceOpenOperationCompletedEventArgs)