SFContentBlockerManager.GetStateOfContentBlocker Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Passes the state of the specified content blocker to the provided completionHandler
.
[Foundation.Export("getStateOfContentBlockerWithIdentifier:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void GetStateOfContentBlocker (string identifier, Action<SafariServices.SFContentBlockerState,Foundation.NSError> completionHandler);
static member GetStateOfContentBlocker : string * Action<SafariServices.SFContentBlockerState, Foundation.NSError> -> unit
Parameters
- identifier
- String
- completionHandler
- Action<SFContentBlockerState,NSError>
- Attributes