TranslationUIProviderContext
An object that encapsulates the XPC communication between the host process and the third-party extension implementation.
Declaration
protocol TranslationUIProviderContext : ObservableDiscussion
The framework provides information to the extension through the two observable properties inputText and allowsReplacement, and the extension calls back to the host process using the functions finish(translation:) and, optionally expandSheet().