TextAgentDelegate
public protocol TextAgentDelegate : AnyObject
The TextAgentDelegate protocol defines method that changed state or received result.
The methods of this protocol are all optional.
-
Tells the delegate that
TextAgentreceived result.Declaration
Swift
func textAgentShouldHandleTextSource(directive: Downstream.Directive) -> BoolParameters
directiveThe directive of
Text.TextSource.Return Value
true if handled, otherwise return false
-
Tells the delegate that
TextAgentreceived result.Declaration
Swift
func textAgentShouldHandleTextRedirect(directive: Downstream.Directive) -> BoolParameters
directiveThe directive of
Text.TextRedirect.Return Value
true if handled, otherwise return false
View on GitHub
TextAgentDelegate Protocol Reference