Class Platform

java.lang.Object
io.crossbar.autobahn.utils.Platform

public class Platform
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Platform()  
  • Method Summary

    Modifier and Type Method Description
    static boolean isAndroid()
    Checks if code is running on Android.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isAndroid

      public static boolean isAndroid()
      Checks if code is running on Android.
      Returns:
      boolean representing whether the underlying platform is Android based