# Class: SyncBase

## SyncBase()

#### new SyncBase()

数据同步基类

Source:
  - SyncBase.js, line 8

### Methods

#### (async, static) removeFinishedListener() → {Promise.<int>}

移除同步结果监听

Source:
  - SyncBase.js, line 57

##### Returns:

>0-成功 ；<=0-失败

Type
  Promise.<int>

#### (async, static) removeProgressListener() → {Promise.<int>}

移除同步进度监听

Source:
  - SyncBase.js, line 44

##### Returns:

>0-成功 ；<=0-失败

Type
  Promise.<int>

#### (async, static) setFinishedListener() → {Promise.<void>}

设置同步结果监听

Source:
  - SyncBase.js, line 18

##### Returns:

Type
  Promise.<void>

#### (async, static) setProgressListener() → {Promise.<void>}

设置同步进度监听

Source:
  - SyncBase.js, line 31

##### Returns:

Type
  Promise.<void>