Package apple.classkit.protocol
Interface CLSContextProvider
-
public interface CLSContextProviderThe CLSContext provider protocol. The app extension that provides CLSContexts should adopt this protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCLSContextProvider.Block_updateDescendantsOfContextCompletion
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdateDescendantsOfContextCompletion(CLSContext context, CLSContextProvider.Block_updateDescendantsOfContextCompletion completion)This method asks the app extension to update CLSContexts that are descendants of a given context.
-
-
-
Method Detail
-
updateDescendantsOfContextCompletion
void updateDescendantsOfContextCompletion(CLSContext context, CLSContextProvider.Block_updateDescendantsOfContextCompletion completion)
This method asks the app extension to update CLSContexts that are descendants of a given context. The extension may choose to modify, delete, or create some or all descendants of the given context. The host app may call this method as the user selects a context.- Parameters:
context- A CLSContext whose descendants are to be updatedcompletion- A completion block the extension should call with an optional error to indicate success or failure.
-
-