ページの先頭行へ戻る
Interstage Mobile Application Server V1.3.0 アプリケーション開発ガイド
FUJITSU Software

3.3.3.9 タイムアウト検知

クライアントアプリケーションのアイドルタイムアウト時間を検知します。以下の機能があります。
  • タイムアウト監視開始
  • タイムアウト検知
使用例
     public void onPause() {
         TimeoutManager.getInstance(this).chkTimeoutStart();
     }
     public void onResume() {
         if(TimeoutManager.getInstance(this).isTimeout()) {
             //タイムアウト発生時の実装
         }
     }