Class Sdk


  • public final class Sdk
    extends java.lang.Object
    SDK provides access to build time and runtime configuration.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getVersionName()
      Gets build version name of the SDK.
      static java.lang.String makeHttpUserAgent​(java.lang.String playerName, java.lang.String suffix)
      Builds the HTTP user agent string that will used in the HTTP requests.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getVersionName

        @NonNull
        public static java.lang.String getVersionName()
        Gets build version name of the SDK.
        Returns:
        the SDK build version.
      • makeHttpUserAgent

        @NonNull
        public static java.lang.String makeHttpUserAgent​(@NonNull
                                                         java.lang.String playerName,
                                                         @Nullable
                                                         java.lang.String suffix)
        Builds the HTTP user agent string that will used in the HTTP requests.
        Returns:
        the HTTP user agent string.