UpdateTask

abstract class UpdateTask : Task


Represents an asynchronous operation to update an app.

This task also receives progress and other state change notifications.

Summary

Public constructors

Public functions

abstract UpdateTask

Adds a listener that is called periodically while this UpdateTask executes.

abstract UpdateTask

Adds a listener that is called periodically while UpdateTask executes.

Inherited functions

From com.google.android.gms.tasks.Task
Task<TResult!>!
Task<TResult!>!
abstract Task<TResult!>!
abstract Task<TResult!>!
Task<TContinuationResult!>!
<TContinuationResult> continueWith(
    p: Continuation<TResult!, TContinuationResult!>!
)
Task<TContinuationResult!>!
<TContinuationResult> continueWithTask(
    p: Continuation<TResult!, Task<TContinuationResult!>!>!
)
abstract Exception!
abstract TResult!
abstract Boolean
abstract Boolean
abstract Boolean
Task<TContinuationResult!>!
<TContinuationResult> onSuccessTask(
    p: SuccessContinuation<TResult!, TContinuationResult!>!
)

Public constructors

UpdateTask

UpdateTask()

Public functions

addOnProgressListener

abstract fun addOnProgressListener(listener: OnProgressListener): UpdateTask

Adds a listener that is called periodically while this UpdateTask executes.

Returns
UpdateTask

this UpdateTask

addOnProgressListener

abstract fun addOnProgressListener(executor: Executor?, listener: OnProgressListener): UpdateTask

Adds a listener that is called periodically while UpdateTask executes.

Parameters
executor: Executor?

the executor to use to call the listener

Returns
UpdateTask

this UpdateTask