use of com.owncloud.android.operations.RichDocumentsUrlOperation in project android by nextcloud.
the class RichDocumentsLoadUrlTask method doInBackground.
@Override
protected String doInBackground(Void... voids) {
final EditorWebView editorWebView = editorWebViewWeakReference.get();
if (editorWebView == null) {
return "";
}
RemoteOperationResult result = new RichDocumentsUrlOperation(file.getLocalId()).execute(account, editorWebView);
if (!result.isSuccess()) {
return "";
}
return (String) result.getData().get(0);
}
Aggregations