Contents

getAvailableContentRuleListIdentifiers(_:)

Fetches the identifiers for all rule lists in the store asynchronously.

Declaration

func getAvailableContentRuleListIdentifiers(_ completionHandler: (([String]?) -> Void)!)
func availableIdentifiers() async -> [String]?

Parameters

  • completionHandler:

    A completion handler block to call with the results. This block has no return value and takes the following parameter:

    identifierArray

    An array of strings, each of which corresponds to an identifier for a rule list in the data store. Use each string to look up the associated Wkcontentrulelist object. If the data store has no rule lists, the array is empty.

See Also

Accessing the Current Rule Lists