Uses of Interface
org.vaadin.firitin.devicemotion.DeviceOrientation.OrientationListener
Packages that use DeviceOrientation.OrientationListener
-
Uses of DeviceOrientation.OrientationListener in org.vaadin.firitin.devicemotion
Methods in org.vaadin.firitin.devicemotion with parameters of type DeviceOrientation.OrientationListenerModifier and TypeMethodDescriptionstatic DeviceOrientationDeviceOrientation.listen(com.vaadin.flow.component.UI ui, DeviceOrientation.OrientationListener listener, boolean absolute) Starts listening to device orientation events and notifies the listener with orientation data.static DeviceOrientationDeviceOrientation.listen(DeviceOrientation.OrientationListener listener) Starts listening to device orientation events and notifies the listener with orientation data.static DeviceOrientationDeviceOrientation.listen(DeviceOrientation.OrientationListener listener, boolean absolute) Starts listening to device orientation events and notifies the listener with orientation data.static com.vaadin.flow.component.button.ButtonDeviceOrientation.requestPermissionAndListen(com.vaadin.flow.component.button.Button button, DeviceOrientation.OrientationListener listener, boolean absolute, Runnable onError) Requests permission (if needed) and then starts listening to device orientation events.static com.vaadin.flow.component.button.ButtonDeviceOrientation.requestPermissionAndListen(com.vaadin.flow.component.button.Button button, DeviceOrientation.OrientationListener listener, Runnable onError) Requests permission (if needed) and then starts listening to device orientation events.