Uses of Enum Class
org.vaadin.firitin.devicemotion.DeviceSensorPermissions.SensorType
Packages that use DeviceSensorPermissions.SensorType
-
Uses of DeviceSensorPermissions.SensorType in org.vaadin.firitin.devicemotion
Subclasses with type arguments of type DeviceSensorPermissions.SensorType in org.vaadin.firitin.devicemotionMethods in org.vaadin.firitin.devicemotion that return DeviceSensorPermissions.SensorTypeModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DeviceSensorPermissions.SensorType[]DeviceSensorPermissions.SensorType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.vaadin.firitin.devicemotion with parameters of type DeviceSensorPermissions.SensorTypeModifier and TypeMethodDescriptionstatic voidDeviceSensorPermissions.configurePermissionRequest(com.vaadin.flow.component.button.Button button, DeviceSensorPermissions.SensorType sensorType, Runnable onSuccess, Runnable onError) Configures an existing button to request permissions on click, then execute the action callback on the server side.static com.vaadin.flow.component.button.ButtonDeviceSensorPermissions.createRequestPermissionButton(String buttonText, DeviceSensorPermissions.SensorType sensorType, Runnable onSuccess, Runnable onError) Creates a button that requests the specified permissions on click, then executes the onSuccess callback if permissions are granted.static booleanDeviceSensorPermissions.isPermissionRequired(com.vaadin.flow.component.UI ui, DeviceSensorPermissions.SensorType sensorType) Checks if device sensor permissions are required on this platform.