Class ClientDeviceName

java.lang.Object
com.iizix.server.user.ClientDeviceName

public final class ClientDeviceName extends Object
The device line the server has for a client session, from what the client says it is - never trusted, only shown: "Browser, Windows" for a Browser, "Apple iPhone15,2 (iOS 26.1)" for an iiziRun. It names the device in the user's devices list (S30, UserAuthenticationUIImpl.deviceName, where it lived) and, since CC-FIX-SIGNIN-ACCOUNT-MAIL, in the account notices' "From:" line beside the client address and the place (AccountNotices.Context.device()).
Author:
Christopher Mindus
  • Method Details

    • of

      public static String of(IClientSessionGyro clientGyro)
      Describes the device of a client from its client environment.
      Parameters:
      clientGyro - The client session, null for none.
      Returns:
      The description, e.g. "Browser, Windows" or "Apple iPhone15,2 (iOS 26.1)"; empty when the session has no client environment.