Share via


NDClient.ClosedCaptionDataReceived Event

Definition

Notifies listeners that a closed caption acquisition operation has completed.

// 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) 

Event Type

Attributes

Applies to

See also