简体   繁体   中英

Can I write an iOS app that supports hotword detection like Siri?

Does apple allow you to write an iOS 14 app, that behaves like Siri, ie when a trigger word is spoken, (even when the iPhone is locked), the said app "is invoked" and does someting?

I'm writing this for my own use, so root the device, or run it in developer mode (if there is such thing), cripple Siri, are all acceptable.

Hey Siri, Ok Google is too long

You can try recognition Apple Speech Framework + recording AVAudioEngine

if i remember correctly, there are even some ways to "bypass" siri, you can install Google Assistant for example and tell to siri "ok google" and it opens google, also alexa works very similar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM