ActivityPreferencePerType class

This object, member, or enumeration is deprecated and is not intended to be used in your code.  SharePoint 2013 includes the following APIs for working with feeds: .NET client, JavaScript, REST, and server. See Work with social feeds in SharePoint 2013 to choose the API for your specific feed-related programming tasks.  

Contains an ActivityType object and a Boolean value indicating whether a preference for this type has been set.

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityPreferencePerType

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityPreferencePerType

ActivityPreferencesCollection gets and sets lists of ActivityPreferencePerType objects to identify those ActivityType objects that users want to see in their feeds.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: