You are here

doesSupportLikingNodes

public boolean doesSupportLikingNodes() determines whether the repository supports the liking of nodes. This capability is supported by SkyVault 2.x servers and newer.

Parameters

None

Returns

Returns a boolean. True if the liking of nodes is supported, false otherwise.

Example


    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 result in output such as the following: