public class MobileSyncReactBridge
extends ReactContextBaseJavaModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
MobileSyncReactBridge(ReactApplicationContext reactContext) |
Modifier and Type | Method and Description |
---|---|
void |
cleanResyncGhosts(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of cleanResyncGhosts
|
void |
deleteSync(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of deleteSync
|
java.lang.String |
getName() |
void |
getSyncStatus(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of getSyncStatus
|
void |
reSync(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of reSync
|
void |
syncDown(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of syncDown
|
void |
syncUp(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of syncUp
|
public static final java.lang.String TAG
public MobileSyncReactBridge(ReactApplicationContext reactContext)
public java.lang.String getName()
public void syncUp(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void syncDown(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void getSyncStatus(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void deleteSync(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void reSync(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void cleanResyncGhosts(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
-