SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) Method

Definition

Attempts to change the gesture settings for this recognizer.

public : Platform::Boolean TrySetGestureSettings(SpatialGestureSettings settings)
bool TrySetGestureSettings(SpatialGestureSettings settings) const;
public bool TrySetGestureSettings(SpatialGestureSettings settings)
Public Function TrySetGestureSettings(settings As SpatialGestureSettings) As bool
var bool = spatialGestureRecognizer.trySetGestureSettings(settings);

Parameters

Returns

bool bool bool

True if the switch was successful; otherwise, false.

Remarks

This method can only succeed if there are no gestures currently in progress.