Package com.openfin.desktop.snapshot
Interface SnapshotSourceProvider
-
public interface SnapshotSourceProviderInterface to be implemented to provide snapshot operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplySnapshot(org.json.JSONObject snapshot)The method to be invoked when applying the snapshot.org.json.JSONObjectgetSnapshot()The method to be invoked when requesting the current snapshot
-
-
-
Method Detail
-
getSnapshot
org.json.JSONObject getSnapshot()
The method to be invoked when requesting the current snapshot- Returns:
- current snapshot
-
applySnapshot
void applySnapshot(org.json.JSONObject snapshot)
The method to be invoked when applying the snapshot.- Parameters:
snapshot- The snapshot object to be applied. The object can be String, JSONObject or JSONArray
-
-