次の方法で共有


SpatialInteractionManager.InteractionDetected イベント

定義

SpatialGestureRecognizer へのルーティングに新しい対話が使用できる場合に発生します。

// Register
event_token InteractionDetected(TypedEventHandler<SpatialInteractionManager, SpatialInteractionDetectedEventArgs const&> const& handler) const;

// Revoke with event_token
void InteractionDetected(event_token const* cookie) const;

// Revoke with event_revoker
SpatialInteractionManager::InteractionDetected_revoker InteractionDetected(auto_revoke_t, TypedEventHandler<SpatialInteractionManager, SpatialInteractionDetectedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialInteractionManager,SpatialInteractionDetectedEventArgs> InteractionDetected;
function onInteractionDetected(eventArgs) { /* Your code */ }
spatialInteractionManager.addEventListener("interactiondetected", onInteractionDetected);
spatialInteractionManager.removeEventListener("interactiondetected", onInteractionDetected);
- or -
spatialInteractionManager.oninteractiondetected = onInteractionDetected;
Public Custom Event InteractionDetected As TypedEventHandler(Of SpatialInteractionManager, SpatialInteractionDetectedEventArgs) 

イベントの種類

注釈

イベント引数の SpatialInteraction オブジェクトを SpatialGestureRecognizerCaptureInteraction メソッドに渡して、この操作をジェスチャ認識エンジンにルーティングします。

適用対象