Interface CLSContextProvider


  • public interface CLSContextProvider
    The CLSContext provider protocol. The app extension that provides CLSContexts should adopt this protocol.
    • 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 updated
        completion - A completion block the extension should call with an optional error to indicate success or failure.