FileDocCategorySizeDatePackage
Interaction.javaAPI DocAndroid 5.1 API1481Thu Mar 12 22:22:42 GMT 2015com.android.systemui.volume

Interaction

public class Interaction extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidregister(android.view.View v, com.android.systemui.volume.Interaction$Callback callback)

        v.setOnTouchListener(new OnTouchListener() {
            @Override
            public boolean onTouch(View v, MotionEvent event) {
                callback.onInteraction();
                return false;
            }
        });
        v.setOnGenericMotionListener(new OnGenericMotionListener() {
            @Override
            public boolean onGenericMotion(View v, MotionEvent event) {
                callback.onInteraction();
                return false;
            }
        });