跳至內容

Siri 與捷徑

PushWard 內建 App Intents,因此你可以直接在裝置上透過 Siri、捷徑 App 與個人自動化操作來驅動它,在 Android 上則可透過快速設定圖塊與啟動器捷徑。不需要整合金鑰,也不必呼叫 API。

將在 app 版本 1.5.0 中推出

本節介紹的功能來自一個正在等待 App Store 審核的 app 更新。更新上線後,此處會自動解鎖。

On Android: Quick Settings tiles and launcher shortcuts

Android has no Siri or Shortcuts app, so the Android app offers two Quick Settings tiles and three launcher shortcuts instead. Like the actions above, they run as the signed-in user and need no hlk_ key.

  • Trigger Action -- a Quick Settings tile that fires one of your widgets' silent webhook actions: a tap, primary or secondary action that has a method, headers or a body. Pick the action under Settings > Quick Settings in the app, which also adds the tile for you (on Android 12, open Quick Settings, tap Edit and drag the PushWard tile into place). The tile shows when the request is sending, sent, or did not go through.
  • Open Notifications -- a Quick Settings tile that opens your notification inbox.
  • Launcher shortcuts -- long-press the PushWard icon for Open Activities, Open Notifications and Open Widgets, or drag one onto the home screen.

Widget actions themselves are set up through the widgets API.