Class PackageVariant

java.lang.Object
electrostatic4j.snaploader.platform.util.PackageVariant

public final class PackageVariant extends Object
A namespace class exposing checks for the native window currently in runtime; this could give some more insights about the type of the framework the application is running on.
  • Method Details

    • hasJavaFxWindow

      public static boolean hasJavaFxWindow()
    • hasJavaAWTWindow

      public static boolean hasJavaAWTWindow()
    • hasAndroidActivity

      public static boolean hasAndroidActivity()
    • hasGWTContext

      public static boolean hasGWTContext()
    • hasJmeContext

      public static boolean hasJmeContext()
    • hasFlutterActivity

      public static boolean hasFlutterActivity()
    • hasAndroidActivityOnly

      public static boolean hasAndroidActivityOnly()
    • hasJmeAndroidContext

      public static boolean hasJmeAndroidContext()
    • hasJmeFlutterContext

      public static boolean hasJmeFlutterContext()