Class ExxtractorVersionHelper
java.lang.Object
com.exxothermic.audioeverywheresdk.helper.logic.ExxtractorVersionHelper
Used to get the exxtractor version.
- Since:
- 12/24/14
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApiVersionFromBoxVersion
(String mCurrentExxtractorVersion) Method that will get the API version for a boxboolean
isVersionGreaterOrEqualThan
(String version, String targetVersion) Method that will compare to versions passed as Strings
-
Field Details
-
EXXTRACTOR_API_V2_MIN_VERSION
- See Also:
-
EXXTRACTOR_API_V2_PARTNER_INFORMATION
- See Also:
-
-
Constructor Details
-
ExxtractorVersionHelper
public ExxtractorVersionHelper()
-
-
Method Details
-
isVersionGreaterOrEqualThan
Method that will compare to versions passed as Strings- Parameters:
version
- the version that will be comparedtargetVersion
- the version that will serve as comparison point- Returns:
- true if the version is greater than the targetVersion given as a parameter false otherwise
-
getApiVersionFromBoxVersion
public FeaturesHelper.ExxtractorApiVersion getApiVersionFromBoxVersion(String mCurrentExxtractorVersion) Method that will get the API version for a box- Parameters:
mCurrentExxtractorVersion
- the exxtractor version as string- Returns:
- a enum that will represent the current exxtractor version
-