Partager via


NDClient.ClosedCaptionDataReceived Événement

Définition

Avertit les écouteurs qu’une opération d’acquisition de légende fermée est terminée.

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

Type d'événement

Attributs

S’applique à

Voir aussi