NDClient.ClosedCaptionDataReceived 事件

定义

通知侦听器隐藏式字幕获取操作已完成。

// Register
event_token ClosedCaptionDataReceived(TypedEventHandler<NDClient, INDClosedCaptionDataReceivedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
NDClient::ClosedCaptionDataReceived_revoker ClosedCaptionDataReceived(auto_revoke_t, TypedEventHandler<NDClient, INDClosedCaptionDataReceivedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
// Register
event_token ClosedCaptionDataReceived(TypedEventHandler<NDClient, INDClosedCaptionDataReceivedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
NDClient::ClosedCaptionDataReceived_revoker ClosedCaptionDataReceived(auto_revoke_t, TypedEventHandler<NDClient, INDClosedCaptionDataReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<NDClient,INDClosedCaptionDataReceivedEventArgs> ClosedCaptionDataReceived;
[add: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<NDClient,INDClosedCaptionDataReceivedEventArgs> ClosedCaptionDataReceived;
function onClosedCaptionDataReceived(eventArgs) { /* Your code */ }
nDClient.addEventListener("closedcaptiondatareceived", onClosedCaptionDataReceived);
nDClient.removeEventListener("closedcaptiondatareceived", onClosedCaptionDataReceived);
- or -
nDClient.onclosedcaptiondatareceived = onClosedCaptionDataReceived;
Public Custom Event ClosedCaptionDataReceived As TypedEventHandler(Of NDClient, INDClosedCaptionDataReceivedEventArgs) 

事件类型

TypedEventHandler<NDClient,INDClosedCaptionDataReceivedEventArgs>
属性

适用于

另请参阅