Class NativeDevice

java.lang.Object
com.inductiveautomation.perspective.gateway.session.NativeDevice

public class NativeDevice extends Object
  • Field Details

  • Method Details

    • isValidMobile

      public boolean isValidMobile()
    • isValidWorkstation

      public boolean isValidWorkstation()
    • updateChallenge

      public void updateChallenge(NativeDevice device)
      After Gateway reset, a new challenge is generated for the mobile session. Allow setting a new challenge if one hasn't already been set.
      Parameters:
      device - NativeDevice from current request
    • getTimeZoneId

      public String getTimeZoneId()
    • getType

      public String getType()
      Returns:
      the device type tag, one of "android", "ios", "designer", "browser", "workstation", or empty string if unpopulated/unknown.
    • forDesigner

      public static NativeDevice forDesigner()
    • from

      public static NativeDevice from(jakarta.servlet.http.HttpServletRequest request)