Class PlatformDependent



  • public final class PlatformDependent
    extends Object
    Allow platform dependent logic such as checks for Android. Modeled after Netty with some code copy/pasted from: https://github.com/netty/netty/blob/master/common/src/main/java/io/netty/util/internal/PlatformDependent.java
    • Constructor Detail

      • PlatformDependent

        public PlatformDependent()
    • Method Detail

      • isAndroid

        public static boolean isAndroid()
        Returns true if and only if the current platform is Android