Android.Content.Loader.CancelLoad Method
Attempt to cancel the current load task.

Syntax

[Android.Runtime.Register("cancelLoad", "()Z", "GetCancelLoadHandler")]
public virtual bool CancelLoad ()

Returns

Documentation for this section has not yet been entered.

Remarks

Attempt to cancel the current load task. Must be called on the main thread of the process.

Cancellation is not an immediate operation, since the load is performed in a background thread. If there is currently a load in progress, this method requests that the load be canceled, and notes this is the case; once the background thread has completed its work its remaining state will be cleared. If another load request comes in during this time, it will be held until the canceled load is complete.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11