---
schema_version: "1"
id: 7ab582d05c4b127e2ab5f4ff0bc4a379152e2727c5b2d78b614a233634501745
title: Sfc Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_Sfc.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Sfc.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 164235d8e3d9dde2425ea8cd4cd07cb444a54aa6c4f20ebcead6d0ec8d777dac
description: The Sfc namespace contains classes used in Salesforce Files.
---
# Sfc Namespace

The Sfc namespace contains classes used in Salesforce Files.

The following are the classes in the Sfc namespace.

- **[ContentDownloadContext Enum](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_Sfc_ContentDownloadContext.htm)**  
    This enum specifies the download context.
- **[ContentDownloadHandler Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Sfc_ContentDownloadHandler.htm#apex_class_Sfc_ContentDownloadHandler)**  
    Use ContentDownloadHandler to define a custom download handler that controls how content is downloaded.
- **[ContentDownloadHandlerFactory Interface](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_Sfc_ContentDownloadHandlerFactory.htm#apex_interface_Sfc_ContentDownloadHandlerFactory)**  
    Use this interface to provide a class factory that Salesforce can call to create instances of your custom ContentDownloadHandler.