You are here

isLatestVersion

public boolean isLatestVersion() returns true if this is the latest version.

Parameters

None

Returns

Returns a boolean which is true if this is the latest version of the document, false otherwise.

Example


    Document doc = getTestDocument(session);
    
    Log.d(TAG, "getContentStreamLength: " + doc.getContentStreamLength());
    Log.d(TAG, "getContentStreamMimeType: " + doc.getContentStreamMimeType());
    Log.d(TAG, "getVersionComment: " + doc.getVersionComment());
    Log.d(TAG, "getVersionLabel: " + doc.getVersionLabel());
    Log.d(TAG, "isLatestVersion: " + doc.isLatestVersion());

      

Would result in the following output: