Class TapGestureDetector

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

This class emits a signal when a tap gesture occurs that meets the requirements set by the application.
A TapGesture is a discrete gesture, which means it does not have any state information attached.

C#
Copy
public class TapGestureDetector : GestureDetector, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements

Constructors

View Source

TapGestureDetector()

Creates an initialized TapGestureDetector.

Declaration
C#
Copy
public TapGestureDetector()
View Source

TapGestureDetector(UInt32)

Creates an initialized TapGestureDetector with the specified parameters.

Declaration
C#
Copy
public TapGestureDetector(uint tapsRequired)
Parameters
Type Name Description
UInt32 tapsRequired

The minimum and maximum number of taps required

View Source

TapGestureDetector(TapGestureDetector)

The copy constructor.

Declaration
C#
Copy
public TapGestureDetector(TapGestureDetector handle)
Parameters
Type Name Description
TapGestureDetector handle

A reference to the copied handle

Methods

View Source

Dispose(DisposeTypes)

override it to clean-up your own resources.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
View Source

GetMaximumTapsRequired()

Retrieves the maximum number of taps required.

Declaration
C#
Copy
public uint GetMaximumTapsRequired()
Returns
Type Description
UInt32

The maximum taps required

View Source

GetMinimumTapsRequired()

Retrieves the minimum number of taps required.

Declaration
C#
Copy
public uint GetMinimumTapsRequired()
Returns
Type Description
UInt32

The minimum taps required

View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

SetMaximumTapsRequired(UInt32)

Sets the maximum number of taps required. The tap count is the number of times a user should "tap" the screen.
The default is 1.

Declaration
C#
Copy
public void SetMaximumTapsRequired(uint maximumTaps)
Parameters
Type Name Description
UInt32 maximumTaps

The maximum taps required

View Source

SetMinimumTapsRequired(UInt32)

Sets the minimum number of taps required. The tap count is the number of times a user should "tap" the screen.
The default is 1.

Declaration
C#
Copy
public void SetMinimumTapsRequired(uint minimumTaps)
Parameters
Type Name Description
UInt32 minimumTaps

The minimum taps required

Events

View Source

Detected

This signal is emitted when the specified tap is detected on the attached view.

Declaration
C#
Copy
public event DaliEventHandler<object, TapGestureDetector.DetectedEventArgs> Detected
Event Type
Type Description
DaliEventHandler<Object, TapGestureDetector.DetectedEventArgs>

Implements

Extension Methods