ContentDownloadHandlerFactory Interface

Use this interface to provide a class factory that Salesforce can call to create instances of your custom ContentDownloadHandler.

Sfc

ContentDownloadHandler getContentDownloadHandler(List<ID> ids, ContentDownloadContext context);

The following are methods for ContentDownloadHandlerFactory.

Returns a ContentDownloadHandler for a given list of content IDs and a download context.

public Sfc.ContentDownloadHandler getContentDownloadHandler(List<Id> var1, Sfc.ContentDownloadContext var2)

Type: Sfc.ContentDownloadHandler

This example creates a class that implements the Sfc.ContentDownloadHandlerFactory interface and returns a download handler that blocks downloading content to mobile devices.