NDClient.ProximityDetectionCompleted Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Avertit les écouteurs qu’une opération de détection de proximité est terminée.
// Register
event_token ProximityDetectionCompleted(TypedEventHandler<NDClient, INDProximityDetectionCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ProximityDetectionCompleted(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::ProximityDetectionCompleted_revoker ProximityDetectionCompleted(auto_revoke_t, TypedEventHandler<NDClient, INDProximityDetectionCompletedEventArgs 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 ProximityDetectionCompleted(TypedEventHandler<NDClient, INDProximityDetectionCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ProximityDetectionCompleted(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::ProximityDetectionCompleted_revoker ProximityDetectionCompleted(auto_revoke_t, TypedEventHandler<NDClient, INDProximityDetectionCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<NDClient,INDProximityDetectionCompletedEventArgs> ProximityDetectionCompleted;
[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,INDProximityDetectionCompletedEventArgs> ProximityDetectionCompleted;
function onProximityDetectionCompleted(eventArgs) { /* Your code */ }
nDClient.addEventListener("proximitydetectioncompleted", onProximityDetectionCompleted);
nDClient.removeEventListener("proximitydetectioncompleted", onProximityDetectionCompleted);
- or -
nDClient.onproximitydetectioncompleted = onProximityDetectionCompleted;
Public Custom Event ProximityDetectionCompleted As TypedEventHandler(Of NDClient, INDProximityDetectionCompletedEventArgs)
Type d'événement
- Attributs