SFContentBlockerManager.GetStateOfContentBlockerAsync(String) 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
.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<SafariServices.SFContentBlockerState> GetStateOfContentBlockerAsync (string identifier);
static member GetStateOfContentBlockerAsync : string -> System.Threading.Tasks.Task<SafariServices.SFContentBlockerState>
Parameters
- identifier
- String
Returns
A task that represents the asynchronous GetStateOfContentBlocker operation. The value of the TResult parameter is of type System.Action<SafariServices.SFContentBlockerState,Foundation.NSError>.
- Attributes
Remarks
The GetStateOfContentBlockerAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.