mainHALsync

Methods

(async, inner) ConfigSave()

Description:
  • ConfigSave
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) deleteHalApiToken()

Description:
  • HAL API トークン設定削除
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) garminDownload()

Description:
  • garminDownload
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) getConfig()

Description:
  • getConfig
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) getHalUserProfileRequest()

Description:
  • HAL ユーザープロファイル取得
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) getPersist()

Description:
  • 現在のデータを取得する
Source:
Parameters:
Type Description
void
Returns:
persist persist

(async, inner) httpGetRequest()

Description:
  • httpGetRequest
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) httpPostRequest()

Description:
  • httpPostRequest
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) renewConfigView()

Description:
  • renewConfigView
Source:

(async, inner) setConfig()

Description:
  • setConfig
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) setHalApiTokenRequest()

Description:
  • HAL API トークン設定 APIトークンをセットして、実際にプロファイルを受信できたら設定値として保存
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) start()

Description:
  • 初期化
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) startSync()

Description:
  • 同期処理, トリガー:APIKey設定時、同期ボタン押下、定時処理
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) startUploadEldata()

Description:
  • 家電操作ログのアップロードを開始、定期的実行
Source:
Parameters:
Type Description
void
Returns:
void

(async, inner) stop()

Description:
  • 開放して連携終了、設定や現在の数値を永続化する
Source:
Parameters:
Type Description
void