Class Sdk

java.lang.Object
com.brightcove.player.Sdk

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

    • getVersionName

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

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