Class InputGesture

    Definition

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

    Class for the Tizen Input Gesture.

    public class InputGesture : IDisposable
    Inheritance
    object
    InputGesture

    Constructors

    View Source

    InputGesture()

    Creates a new InputGesture.

    Declaration
    public InputGesture()
    Remarks

    This module operates in a NUI application and requires instantiation and disposal on the main thread.

    Methods

    View Source

    CreateEdgeDragData(int, GestureEdge)

    Generates a edge drag gesture's grab info handle

    Declaration
    public IntPtr CreateEdgeDragData(int fingers, GestureEdge edge)
    Parameters
    Type Name Description
    int fingers

    The number of fingers

    GestureEdge edge

    The position of edge

    Returns
    Type Description
    IntPtr

    The edge drag gesture data handle

    View Source

    CreateEdgeSwipeData(int, GestureEdge)

    Generates a edge swipe gesture's grab info handle

    Declaration
    public IntPtr CreateEdgeSwipeData(int fingers, GestureEdge edge)
    Parameters
    Type Name Description
    int fingers

    The number of fingers

    GestureEdge edge

    The position of edge

    Returns
    Type Description
    IntPtr

    The edge swipe gesture data handle

    View Source

    CreatePalmCoverData()

    Generates a palm cover gesture's grab info handle

    Declaration
    public IntPtr CreatePalmCoverData()
    Returns
    Type Description
    IntPtr

    The palm cover gesture data handle

    View Source

    CreateTapData(int, int)

    Generates a tap gesture's grab info handle

    Declaration
    public IntPtr CreateTapData(int fingers, int repeats)
    Parameters
    Type Name Description
    int fingers

    The number of fingers

    int repeats

    The number of repeats

    Returns
    Type Description
    IntPtr

    The tap gesture data handle

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(DisposeTypes)

    Declaration
    protected virtual void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    View Source

    ~InputGesture()

    Destructor.

    Declaration
    protected ~InputGesture()
    View Source

    GrabGesture(IntPtr)

    Grabs a global gesture

    Declaration
    public void GrabGesture(IntPtr data)
    Parameters
    Type Name Description
    IntPtr data

    gesture data to grab

    View Source

    ReleaseEdgeDrageData(IntPtr)

    Frees a memory of edge drag gesture's grab info handle

    Declaration
    public void ReleaseEdgeDrageData(IntPtr data)
    Parameters
    Type Name Description
    IntPtr data

    The edge drag gesture data handle

    View Source

    ReleaseEdgeSwipeData(IntPtr)

    Frees a memory of edge swipe gesture's grab info handle

    Declaration
    public void ReleaseEdgeSwipeData(IntPtr data)
    Parameters
    Type Name Description
    IntPtr data

    The edge swipe gesture data handle

    View Source

    ReleasePalmCoverData(IntPtr)

    Frees a memory of palm cover gesture's grab info handle

    Declaration
    public void ReleasePalmCoverData(IntPtr data)
    Parameters
    Type Name Description
    IntPtr data

    The palm cover gesture data handle

    View Source

    ReleaseTapData(IntPtr)

    Frees a memory of tap gesture's grab info handle

    Declaration
    public void ReleaseTapData(IntPtr data)
    Parameters
    Type Name Description
    IntPtr data

    The tap gesture data handle

    View Source

    SetEdgeDragSize(IntPtr, GestureEdgeSize, int, int)

    Sets a specific size of edge for edge drag gesture

    Declaration
    public void SetEdgeDragSize(IntPtr data, GestureEdgeSize edgeSize, int startPoint, int endPoint)
    Parameters
    Type Name Description
    IntPtr data

    The edge drag gesture data handle

    GestureEdgeSize edgeSize

    The enum of gesture edge size

    int startPoint

    The start point of edge area

    int endPoint

    The end point of edge area

    View Source

    SetEdgeSwipeSize(IntPtr, GestureEdgeSize, int, int)

    Sets a specific size of edge for edge swipe gesture

    Declaration
    public void SetEdgeSwipeSize(IntPtr data, GestureEdgeSize edgeSize, int startPoint, int endPoint)
    Parameters
    Type Name Description
    IntPtr data

    The edge swipe gesture data handle

    GestureEdgeSize edgeSize

    The enum of gesture edge size

    int startPoint

    The start point of edge area

    int endPoint

    The end point of edge area

    View Source

    UngrabGesture(IntPtr)

    Ungrabs a global gesture.

    Declaration
    public void UngrabGesture(IntPtr data)
    Parameters
    Type Name Description
    IntPtr data

    gesture data to ungrab

    Events

    View Source

    EdgeDragEventHandler

    Emits the event when the edge drag event comes

    Declaration
    public event EventHandler<EdgeDragEventArgs> EdgeDragEventHandler
    Event Type
    Type Description
    EventHandler<><EdgeDragEventArgs>
    View Source

    EdgeSwipeEventHandler

    Emits the event when the edge swipe event comes

    Declaration
    public event EventHandler<EdgeSwipeEventArgs> EdgeSwipeEventHandler
    Event Type
    Type Description
    EventHandler<><EdgeSwipeEventArgs>
    View Source

    PalmCoverEventHandler

    Emits the event when the palm cover event comes

    Declaration
    public event EventHandler<PalmCoverEventArgs> PalmCoverEventHandler
    Event Type
    Type Description
    EventHandler<><PalmCoverEventArgs>
    View Source

    TapEventHandler

    Emits the event when the tap event comes

    Declaration
    public event EventHandler<TapEventArgs> TapEventHandler
    Event Type
    Type Description
    EventHandler<><TapEventArgs>

    Extension Methods

    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