Package com.brightcove.player
Class Sdk
java.lang.Object
com.brightcove.player.Sdk
SDK provides access to build time and runtime configuration.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Gets build version name of the SDK.static String
makeHttpUserAgent
(String playerName, String suffix) Builds the HTTP user agent string that will used in the HTTP requests.
-
Method Details
-
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.
-