SwiftclassTextInputUI

class TextInputUI.TUITextComposerClientWrapper

Members 14

  1. funcstatic conversationType(for: TIKeyboardState?) -> TUISmartReplyConversationType
  2. funcstatic isGMAvailable(useCase: String) -> Bool
  3. funcstatic isGMAvailableForMailReply() -> Bool
  4. funcstatic isGMAvailableForMailReplyLongFormBasic() -> Bool
  5. funcstatic isGMAvailableForMessagesAction() -> Bool
  6. funcstatic isGMAvailableForMessagesReply() -> Bool
  7. deinitdeinit
  8. fieldlet taskCache: TextInputUI.LRUCache<String, TextInputUI.TaskCacheEntry>
  9. fieldlet textComposerClient: TextComposer.TextComposerClient
  10. funccancelRequest(token: UInt, forClient: String) -> ()
  11. funcgenerateRequestToken() -> UInt
  12. funcrequestShortFormSmartResponseGeneration(context: _TUIKeyboardCandidateGenerationContext, inputContextHistory: TCInputContextHistory, documentFormat: TextComposer.DocumentFormat, threadIdentifier: String, options: [String : Any]?) async throws -> TextInputUI.ShortFormSmartActionResponse?
  13. funcrequestSmartRepliesWithContext(_: _TUIKeyboardCandidateGenerationContext, inputContextHistory: TCInputContextHistory, conversationType: TUISmartReplyConversationType, smartReplyType: TUISmartReplyType, candidateString: String, options: [String : Any], completion: (TextInputUI.TUISmartReplyResponse) -> ()) -> ()
  14. initTextInputUI.TUITextComposerClientWrapper.__allocating_init() -> TextInputUI.TUITextComposerClientWrapper
class TUITextComposerClientWrapper: TextInputUI.TUITextComposerClientBase {
    let taskCache: TextInputUI.LRUCache<Swift.String, TextInputUI.TaskCacheEntry>
    let textComposerClient: TextComposer.TextComposerClient

    override func generateRequestToken() -> Swift.UInt
    override func requestShortFormSmartResponseGeneration(context: __C._TUIKeyboardCandidateGenerationContext, inputContextHistory: __C.TCInputContextHistory, documentFormat: TextComposer.DocumentFormat, threadIdentifier: Swift.String, options: [Swift.String : Any]?) async throws -> TextInputUI.ShortFormSmartActionResponse?
    class func isGMAvailable(useCase: Swift.String) -> Swift.Bool
    class func isGMAvailableForMessagesReply() -> Swift.Bool
    class func isGMAvailableForMailReply() -> Swift.Bool
    class func isGMAvailableForMailReplyLongFormBasic() -> Swift.Bool
    class func isGMAvailableForMessagesAction() -> Swift.Bool
    @objc func requestSmartRepliesWithContext(_: __C._TUIKeyboardCandidateGenerationContext, inputContextHistory: __C.TCInputContextHistory, conversationType: __C.TUISmartReplyConversationType, smartReplyType: __C.TUISmartReplyType, candidateString: Swift.String, options: [Swift.String : Any], completion: @escaping (_: TextInputUI.TUISmartReplyResponse) -> ())
    func cancelRequest(token: Swift.UInt, forClient: Swift.String)

    init()

    static func conversationType(for: __C.TIKeyboardState?) -> __C.TUISmartReplyConversationType

    deinit
}