inputs
Installation
SKILL.md
Inputs (iOS)
Use the experimental Inputs capability to receive semantic interactions from glasses. The app must have Inputs enabled for it in Wearables Developer Center. Inputs does not have a Permission value to request at runtime.
Attach after the session starts
addInputs(configuration:) returns nil unless the DeviceSession is already .started. Adding the capability starts it automatically; there is no public start() method.
let configuration = InputsConfiguration(consumeBack: true)
guard let inputs = try session.addInputs(configuration: configuration) else {
return
}