Products Google APIs for Android Reference WorkAccountApi.AddAccountResult public static interface WorkAccountApi.AddAccountResult implements Result This interface was deprecated. Use WorkAccountClient via getClient(Activity) instead. Interface for result of addWorkAccount(GoogleApiClient, String). Public Method Summary abstract Account getAccount() Returns a Account that has been added. Inherited Method Summary From interface com.google.android.gms.common.api.Result abstract Status getStatus() Returns the status of this result. Public Methods public abstract Account getAccount () Returns a Account that has been added. If adding the account has failed it will return null. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated March 21, 2018.