You are here

doesSupportCommentsCount

public boolean doesSupportCommentsCount() determines whether the repository supports the counting of comments. This capability is supported by SkyVault 2.x servers and newer.

Parameters

None

Returns

Returns a boolean. True if the comments count is supported, false otherwise.

Example


    RepositoryCapabilities caps = repoInfo.getCapabilities();
        
    // capabilities are CAPABILITY_COMMENTS_COUNT and CAPABILITY_LIKE 
    Log.d(TAG, "doesSupportCapability(CAPABILITY_COMMENTS_COUNT): " + caps.doesSupportCapability(CAPABILITY_COMMENTS_COUNT));
    Log.d(TAG, "doesSupportCommentsCount" + caps.doesSupportCommentsCount());
    Log.d(TAG, "doesSupportLikingNodes" + caps.doesSupportLikingNodes());


      

Would result in output such as the following: