getLocalContentList static method
- ContentType type
Gets access to the installed content list.
Parameters
- IN type Content list type (see ContentType)
Returns
- List of content store items
Throws
- An exception if it fails to initialize.
Implementation
static List<ContentStoreItem> getLocalContentList(final ContentType type) {
final OperationResult resultString = objectMethod(
0,
'ContentStore',
'getLocalContentList',
args: type.id,
);
return ContentStoreItemList.init(resultString['result'], 0).toList();
}