OutSystems Forge 日本語データベース

OfflineDetection

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2018-02-16 1.0.0 darwinLabs Dev Team All All Components, Widgets, Libraries
モバイルアプリがオンラインかオフラインかを正確に検出できるようにする。
モバイルアプリが、接続されていないWIFIネットワークに接続されている場合でも、オンラインかオフラインかを正確に検出できるようにします。アプリケーションの接続に関連するいくつかのイベントをトリガするブロック、接続が復旧した後に自動的に接続を切断して再作成するブロック、接続状態を検証する単純なクライアント側のロジックを含むブロックを含みます。 Javascript(offline.js)を完全に基にし、外部依存関係がないSilkUIはデモアプリケーション専用です。 既存のトリガイベントの詳細: チェック - 接続をテストするたびに確認 ConfirmedOffline - 接続テストが失敗し、接続が既にオフラインだった場合でも起動します ConfirmedOnline - 接続テストは成功し、接続がすでにオンラインになっていても起動します オフライン - 接続はオンラインからオフラインになっています オンライン - 接続がオフラインからオンラインになった RequestsCapture - 新しい要求が保持されている(RemakeRequestsフラグがtrueに設定されている場合) RequestsFlush - 保留中のリクエストが再作成された場合(RemakeRequestsフラグがtrueに設定されている場合)

[Overview]
Allow a mobile app to accurately detect if it's online or offline.
[Detail]
Allow a mobile app to accurately detect if it's online or offline, even if it's connected to a WIFI network with no connectivity. Includes block that triggers several events related with the app's connectivity, that can automatically grab ajax requests made while the connection is down and remakes them after the connection is restored, and simple client side logic to validate connectivity status. Completely based on Javascript (offline.js) and with no external dependencies, SilkUI is only for the Demo app. Detail of existing triggered events: Checking - Whenever we are testing the connection ConfirmedOffline - A connection test has failed, fired even if the connection was already offline ConfirmedOnline - A connection test has succeeded, fired even if the connection was already online Offline - The connection has gone from online to offline Online- The connection has gone from offline to online RequestsCapture - A new request is being held (if RemakeRequests flag is set to true) RequestsFlush - Any pending requests have been remade (if RemakeRequests flag is set to true)
戻る