Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
パターンに従って振動するアプリを作成しました。
vib.vibrate(..., -1);
電話の振動がいつ終わるか知りたいです。そのメソッドをトリガーした後、まだ振動しているかどうかを知る方法はありますか?
ありがとう
実際に電話をポーリングして振動しているかどうかを確認できるかどうかはわかりませんが、このメソッドを使用して特定の期間振動し、これを追跡するか、ハンドラー/タイマーにフィードして終了したことをコールバックできますか?