共用方式為


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) 

事件類型

屬性

適用於

另請參閱