In com.google.android.gms.tasks.Tasks
there is a forResult
method which returns a specific result for the task, how related this method to Huawei's tasks?
// return a null result task
Task<?> methodCallTask;
methodCallTask = Tasks.forResult(null);