Use this tag for programming questions related to Huawei HMF Tasks. It is one of the services provided by Huawei Mobile Services Core for developers. Huawei HMF tasks provides synchronous and asynchronous API call methods for you to interact with Huawei Mobile Services Core.
Questions tagged [huawei-hmf-tasks]
2 questions
2
votes
1 answer
Huawei.Hmf.tasks. Create new task
I'm trying using huawei tasks and faced a problem. How to create task that calls a specific method, that returns "void"?
For example in c# i can:
public static Task MyTask()
{
return Task.Factory.StartNew(() =>
{
…

Jack The Healer
- 116
- 10
2
votes
2 answers
How to make a result for com.huawei.hmf.tasks?
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);

ccd
- 5,788
- 10
- 46
- 96