Class TapGestureDetector
Definition
- 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.
public class TapGestureDetector : GestureDetector, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
Constructors
View SourceTapGestureDetector()
Creates an initialized TapGestureDetector.
Declaration
public TapGestureDetector()
TapGestureDetector(uint)
Creates an initialized TapGestureDetector with the specified parameters.
Declaration
public TapGestureDetector(uint tapsRequiredCount)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | tapsRequiredCount | The minimum and maximum number of taps required |
TapGestureDetector(TapGestureDetector)
The copy constructor.
Declaration
public TapGestureDetector(TapGestureDetector handle)
Parameters
| Type | Name | Description |
|---|---|---|
| TapGestureDetector | handle | A reference to the copied handle |
Methods
View SourceGetMaximumTapsRequired()
Retrieves the maximum number of taps required.
Declaration
public uint GetMaximumTapsRequired()
Returns
| Type | Description |
|---|---|
| uint | The maximum taps required |
GetMinimumTapsRequired()
Retrieves the minimum number of taps required.
Declaration
public uint GetMinimumTapsRequired()
Returns
| Type | Description |
|---|---|
| uint | The minimum taps required |
SetMaximumTapsRequired(uint)
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
public void SetMaximumTapsRequired(uint maximumTapCount)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | maximumTapCount | The maximum taps required |
SetMinimumTapsRequired(uint)
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
public void SetMinimumTapsRequired(uint minimumTapCount)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | minimumTapCount | The minimum taps required |
Events
View SourceDetected
This signal is emitted when the specified tap is detected on the attached view.
Declaration
public event DaliEventHandler<object, TapGestureDetector.DetectedEventArgs> Detected
Event Type
| Type | Description |
|---|---|
| DaliEventHandler<object, TapGestureDetector.DetectedEventArgs> |