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

3.4.4.9 タイムアウト検知

クライアントアプリケーションのアイドルタイムアウト時間を検知します。以下の機能があります。
  • タイムアウト監視開始
  • タイムアウト検知
使用例
- (void)applicationDidEnterBackground:(UIApplication *)application {
     [[IMATimeoutManager sharedInstance] chkTimeoutStart];
  }
- (void)applicationWillEnterForeground:(UIApplication *)application {
    if ([[IMATimeoutManager sharedInstance] isTimeout] == true) {
        // タイムアウト発生時の実装.
    }
}