## Uses of Interface
com.holonplatform.vaadin.flow.device.DeviceInfo

- Packages that use DeviceInfo
  Package | Description
  --- | ---
  com.holonplatform.vaadin.flow.device |

- - ### Uses of DeviceInfo in com.holonplatform.vaadin.flow.device

    Methods in com.holonplatform.vaadin.flow.device that return DeviceInfo
    Modifier and Type | Method and Description
    --- | ---
    `static DeviceInfo` | DeviceInfo.`create(com.vaadin.flow.component.UI ui, UserAgentInspector userAgentInspector)` Create a new `DeviceInfo` for given UI, using the provided `UserAgentInspector`.
    `static DeviceInfo` | DeviceInfo.`create(com.vaadin.flow.component.UI ui, com.vaadin.flow.server.VaadinRequest request)` Create a new `DeviceInfo` for given UI, using the provided `VaadinRequest` to configure a default `UserAgentInspector`.
    `static DeviceInfo` | DeviceInfo.`require()` Get the `DeviceInfo` for the current UI, throwing a `IllegalStateException` if not available.

    Methods in com.holonplatform.vaadin.flow.device that return types with arguments of type DeviceInfo
    Modifier and Type | Method and Description
    --- | ---
    `static Optional<DeviceInfo>` | DeviceInfo.`get()` Get the `DeviceInfo` for the current UI, if available.
    `static Optional<DeviceInfo>` | DeviceInfo.`get(com.vaadin.flow.component.UI ui)` Get the `DeviceInfo` for given UI, if available.

Copyright © 2019 The Holon Platform. All rights reserved.