mirror of https://github.com/YTVanced/VancedMicroG
27 lines
782 B
Java
27 lines
782 B
Java
/*
|
|
* SPDX-FileCopyrightText: 2016, microG Project Team
|
|
* SPDX-License-Identifier: Apache-2.0 AND CC-BY-4.0
|
|
* Notice: Portions of this file are reproduced from work created and shared by Google and used
|
|
* according to terms described in the Creative Commons 4.0 Attribution License.
|
|
* See https://developers.google.com/readme/policies for details.
|
|
*/
|
|
|
|
package com.google.android.gms.tasks;
|
|
|
|
import org.microg.gms.common.PublicApi;
|
|
|
|
/**
|
|
* Listener called when a {@link Task} completes.
|
|
*
|
|
* @see Task#addOnCompleteListener(OnCompleteListener)
|
|
*/
|
|
@PublicApi
|
|
public interface OnCompleteListener<TResult> {
|
|
/**
|
|
* Called when the Task completes.
|
|
*
|
|
* @param task the completed Task. Never null
|
|
*/
|
|
void onComplete(Task<TResult> task);
|
|
}
|