Share via


IAsyncControl.cancel method

Cancels the associated asynchronous task running. At any time, many tasks can be concurrently running. For each async task there is a corresponding IAsyncControl object that can be used to cancel it.

Signature

public void cancel()

Defined in

IAsyncControl.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)

Remarks

Invoking this method multiple times does not change the effect.