Most visited

Recently visited

TouchpadSwipeListener

public interface TouchpadSwipeListener

com.viro.core.TouchpadSwipeListener


Callback interface for responding to touchpad swipe events, which occur when a finger is swiped across a touchpad Controller.

Summary

Public methods

abstract void onSwipe(int source, Node node, SwipeState swipeState)

Callback when a swipe was been detected on a touchpad controller while hovering over the given Node.

Public methods

onSwipe

void onSwipe (int source, 
                Node node, 
                SwipeState swipeState)

Callback when a swipe was been detected on a touchpad controller while hovering over the given Node.

Parameters
source int: The platform specific source ID, which indicates what button or component on the Controller triggered the event. See the Controller's Guide for information.

node Node: The Node being hovered over at the time of the swipe.

swipeState SwipeState: The direction of the swipe recorded.

Hooray!