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

3.5.3.9 タイムアウト検知

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