Uses of Interface
org.vaadin.firitin.devicemotion.DeviceMotion.DeviceMotionHandler
Packages that use DeviceMotion.DeviceMotionHandler
-
Uses of DeviceMotion.DeviceMotionHandler in org.vaadin.firitin.devicemotion
Methods in org.vaadin.firitin.devicemotion with parameters of type DeviceMotion.DeviceMotionHandlerModifier and TypeMethodDescriptionstatic com.vaadin.flow.component.button.Button
DeviceMotion.requestPermissionAndListen
(com.vaadin.flow.component.button.Button button, DeviceMotion.MotionListener listener, DeviceMotion.DeviceMotionHandler handler, Runnable onError) Requests permission (if needed) and then starts listening to device motion events.