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.

    public class TapGestureDetector : GestureDetector, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    GestureDetector
    TapGestureDetector
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    TapGestureDetector()

    Creates an initialized TapGestureDetector.

    Declaration
    public TapGestureDetector()
    View Source

    TapGestureDetector(uint)

    Creates an initialized TapGestureDetector with the specified parameters.

    Declaration
    public TapGestureDetector(uint tapsRequired)
    Parameters
    Type Name Description
    uint tapsRequired

    The minimum and maximum number of taps required

    View Source

    TapGestureDetector(TapGestureDetector)

    The copy constructor.

    Declaration
    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
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    BaseHandle.Dispose(DisposeTypes)
    View Source

    GetMaximumTapsRequired()

    Retrieves the maximum number of taps required.

    Declaration
    public uint GetMaximumTapsRequired()
    Returns
    Type Description
    uint

    The maximum taps required

    View Source

    GetMinimumTapsRequired()

    Retrieves the minimum number of taps required.

    Declaration
    public uint GetMinimumTapsRequired()
    Returns
    Type Description
    uint

    The minimum taps required

    View Source

    ReleaseSwigCPtr(HandleRef)

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

    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 maximumTaps)
    Parameters
    Type Name Description
    uint maximumTaps

    The maximum taps required

    View Source

    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 minimumTaps)
    Parameters
    Type Name Description
    uint minimumTaps

    The minimum taps required

    Events

    View Source

    Detected

    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>

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX