iOS Guides | Samples

MonoTouch.NetworkExtension.NEFilterManager Class

Manages content filter configurations.

See Also: NEFilterManager

Syntax

[MonoTouch.Foundation.Register("NEFilterManager", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.MacOSX, 10, 10, MonoTouch.ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class NEFilterManager : NSObject

Related content

Requirements

Namespace: MonoTouch.NetworkExtension
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.NetworkExtension.NEFilterManager are listed below.

See Also: NSObject

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
ConfigurationDidChangeNotificationNSString. Notification constant for ConfigurationDidChange
EnabledBoolean. Get or sets a Boolean value that enables and disables the filter.
[read-only]
static
ErrorDomainNSString. Gets the error domain for error messages.
LocalizedDescriptionString. Gets or sets a localized description of the filter.
ProviderConfigurationNEFilterProviderConfiguration. Gets or sets an object that contains settings for the filter.
[read-only]
static
SharedManagerNEFilterManager. Gets the shared filter manager instance.

Public Methods

LoadFromPreferences(Action<MonoTouch.Foundation.NSError>)
Loads the filter from the configuration that is saved in the Network Extension preferences and runs a completion handler after the operation is complete.
LoadFromPreferencesAsync() : Task
Loads the filter from the configuration that is saved in the Network Extension preferences and runs a completion handler after the operation is complete.
RemoveFromPreferences(Action<MonoTouch.Foundation.NSError>)
Removes the filter from the Network Extensions preferences and runs a completion handler when the operation is complete.
RemoveFromPreferencesAsync() : Task
Removes the filter from the Network Extensions preferences and runs a completion handler when the operation is complete.
SaveToPreferences(Action<MonoTouch.Foundation.NSError>)
Saves the filter in the Network Extensions preferences and runs a completion handler when the operation is complete.
SaveToPreferencesAsync() : Task
Saves the filter in the Network Extensions preferences and runs a completion handler when the operation is complete.