storeDocument(Object, int, String) method

This API Caches the service document or the meta data document depending on the DocumentType and against specified URLKey.

Syntax

public void storeDocument ( Object Document , int documentType , String URLKey ) throws CacheException

Parameters

Exceptions

Example 1


Try{

ILogger logger = new  Logger();
ICache cache =new Cache(getApplicationContext(),logger);
cache.storeDocument(serviceDocumentObject, documentType.ServiceDocument, serviceDocUrl);

}
Catch(CacheException e){
}