覆盖绽放手势

Overriding bloom gesture

我想知道是否可以覆盖绽放手势,使其不会退出应用程序,而是返回到我的应用程序中的另一个场景。

正如 HoloSheepthe HoloLens forums

上指出的那样

Note however that the Bloom is a system level gesture and not intended for use or interaction at the app level.

我仍然想在我的应用程序中将它用作某种后退按钮,因为没有其他好的选择(据我所知)可以执行此类操作。

文档告诉: 在 HoloLens 上,你执行回家的手势称为 Bloom。要在 HoloLens 上做绽放手势,请伸出手,掌心向上,指尖并拢。然后张开你的手。请注意,您也可以始终 return 以说 "Hey Cortana, Go Home" 开始。 应用程序不能专门对家庭操作做出反应,因为这些是由系统处理的

所以您不能覆盖绽放手势 - 但您可以使用 Kiosk 模式禁用绽放手势 - 然后使用一些其他语音命令作为您的 "back button".

"Kiosk mode limits the user's ability to launch new apps or change the running app. When kiosk mode is enabled for HoloLens, the bloom gesture and Cortana are disabled, and placed apps aren't shown in the user's surroundings."

https://docs.microsoft.com/en-us/hololens/hololens-kiosk