public String getBuildNumber() returns a string representing
the build number of the repository software. Note, SkyVault in the Cloud will return NULL for
this method.
Parameters
None
Returns
Returns a String representing the build number of the repository software.
Example
// the easy way to get repo info, not the only way RepositoryInfo repoInfo = session.getRepositoryInfo(); Log.d(TAG, "buildNumber: " + repoInfo.getBuildNumber()); Log.d(TAG, "description: " + repoInfo.getDescription()); Log.d(TAG, "edition: " + repoInfo.getEdition()); Log.d(TAG, "identifier: " + repoInfo.getIdentifier()); Log.d(TAG, "maintenanceVersion: " + repoInfo.getMaintenanceVersion()); Log.d(TAG, "majorVersion: " + repoInfo.getMajorVersion()); Log.d(TAG, "minorVersion: " + repoInfo.getMinorVersion()); Log.d(TAG, "name: " + repoInfo.getName()); Log.d(TAG, "version: " + repoInfo.getVersion()); // get capabilities RepositoryCapabilities caps = repoInfo.getCapabilities(); // capabilities are CAPABILITY_COMMENTS_COUNT and CAPABILITY_LIKE Log.d(TAG, "doesSupportCapability(CAPABILITY_LIKE): " + caps.doesSupportCapability(CAPABILITY_LIKE)); Log.d(TAG, "doesSupportCommentsCount" + caps.doesSupportCommentsCount()); Log.d(TAG, "doesSupportLikingNodes" + caps.doesSupportLikingNodes());
Would produce output such as the following: