Interface Version
Simple data type describing an app or SDK version.
public interface Version
Methods
getMajor
int getMajor()
Get the major version number.
Returns
Major version number.
getMinor
int getMinor()
Get the minor version number.
Returns
Minor version number.
getName
@NonNull
String getName()
Get a string representation of the version.
Returns
A string representation of the version.
getPatch
int getPatch()
Get the patch version number.
Returns
Patch version number.