Upravit

Sdílet prostřednictvím


SFContentBlockerManager.GetStateOfContentBlocker Method

Definition

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

Applies to