Android Chinese Translation-Accountmanagerfuture overview

Source: Internet
Author: User
Accountmanagerfuture Overview

A accountmanagerfuture shows the result of an asynchronous Accountmanager call. It provides methods for judging whether the calculation is complete, waiting for the calculation process, and obtaining the result of the operation. When the operation is complete, the block (if necessary) knows that the result is ready and the result can only be obtained using the Get method. The cancel operation will be processed by the Cancel method. Additional methods are provided for judging that the task is completed normally or canceled. Once an operation is completed, the operation cannot be canceled. If you use this class in a way that does not provide a useful result for an intent that can be canceled, you can declare a type that resembles the format future<?> and return null as the result of the related task.

Android Chinese Translation-Accountmanagerfuture overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.