Implementing Keyboard Input via TLSClientManager in Swift for Android TV Remote App

43 Views Asked by At

I am developing a Remote App for Android TV in Swift, utilizing TLSClientManager to send commands. Initially, I successfully implemented functionality for numeric and basic keys. However, I am now encountering difficulties integrating keyboard input into the application. Here's my code for conversing keyboard command to Data


case imeKey(app: String, status: RemoteCommand_RemoteTextFieldStatus)
case .imeKey(let app, let status):
     $0.remoteImeKeyInject = .with 
     $0.textFieldStatus = status
         $0.appInfo = .with {
             $0.appPackage = app
         }
    }

I attempted to research online resources and documentation related to TLSClientManager and keyboard input integration in Swift for Android TV. However, I haven't found a clear solution that addresses my specific requirements.

I expected to find guidance or insights on how to incorporate keyboard input functionality seamlessly into my Remote App, allowing users to input text and navigate using their device's keyboard while maintaining TLSClientManager functionality for sending commands.

0

There are 0 best solutions below