---
schema_version: "1"
id: 42a059a6910fee7ab7a6cd9487deca693f43bfb0997ea5e3209757bd77a96c2e
title: Pref_center Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_pref_center.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_pref_center.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a467e9524155f4dda9be5eb2d09d090cb97e059364ac16b33f58359c00468151
description: The Pref_center namespace provides an interface, classes, and methods to create and retrieve data in forms in Preference Manager. Preference Manager, previously called Preference Center, is a feature within the Privacy Center app.
---
# Pref\_center Namespace

The Pref\_center namespace provides an interface, classes, and methods to create and retrieve data in forms in Preference Manager. Preference Manager, previously called Preference Center, is a feature within the Privacy Center app.

The following are the classes in the Pref\_center namespace.

- **[LoadFormData Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_pref_center_LoadFormData.htm#apex_class_pref_center_LoadFormData)**  
    Retrieve records related to the tokenized record id, and populate the values of a preference form.
- **[LoadParameters Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_pref_center_LoadParameters.htm#apex_class_pref_center_LoadParameters)**  
    Contains methods to retrieve record Id information for parameters passed into the load-form handler.
- **[PreferenceCenterApexHandler Interface](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_pref_center_PreferenceCenterApexHandler.htm#apex_interface_pref_center_PreferenceCenterApexHandler)**  
    Pass data between your organization and a form in Preference Manager.
- **[SubmitFormData Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_pref_center_SubmitFormData.htm#apex_class_pref_center_SubmitFormData)**  
    Contains methods to retrieve information on buttons and options selected in a preference form.
- **[SubmitParameters Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_pref_center_SubmitParameters.htm#apex_class_pref_center_SubmitParameters)**  
    Retrieve record ID information to use with your submit-form handler.
- **[TokenType Enum](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_pref_center_TokenType.htm)**  
    Defines the types of values supported by the TokenUtility methods.
- **[TokenUtility Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_pref_center_TokenUtility.htm#apex_class_pref_center_TokenUtility)**  
    Generate authentication tokens to access preference forms.
- **[ValidationResult Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_pref_center_ValidationResult.htm#apex_class_pref_center_ValidationResult)**  
    This class is reserved for future use with Preference Manager.