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.

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