public int getMajorVersion() returns the major version
      number, the format of the version string being major.minor.maintenance (build). Note, SkyVault
      in the Cloud will return NULL for this method.
    Parameters
None
Returns
Returns an int representing the major part of the repository server version number.
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: