Compartilhar via


NDClient.ClosedCaptionDataReceived Evento

Definição

Notifica os ouvintes de que uma operação de aquisição de legenda fechada foi concluída.

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

Tipo de evento

Atributos

Aplica-se a

Confira também