Метод | Описание | |
---|---|---|
__construct ( ) : void | Creates a new asynchronous task | |
__destruct ( ) : void | Finish create an asynchronous task | |
cancel ( ) : boolean | Attempts to cancel execution of this task | |
execute ( mixed $parameters ) : void | Executes the task with the specified parameters | |
getStatus ( ) : string | Returns the current status of this task | |
isCancelled ( ) : boolean | Returns true if this task was cancelled before it completed normally |
Метод | Описание | |
---|---|---|
doInBackground ( mixed $parameters ) : mixed | Override this method to perform a computation on a background thread | |
getProperty ( string $key ) : mixed | Returns the variable with the given key | |
onCancelled ( ) : void | Runs on the thread after cancel() | |
onPostExecute ( mixed $result ) : void | Runs on the thread after doInBackground($parameters) | |
onPreExecute ( ) : void | Runs on the thread before doInBackground($parameters) | |
setProperty ( string $key, string $value ) : boolean | Inserts or updates a variable with the given key |
Метод | Описание | |
---|---|---|
getUid ( string $key ) : integer | Returns a unique integer identifier for a given key |
final public __construct ( ) : void | ||
Результат | void |
final public __destruct ( ) : void | ||
Результат | void |
abstract protected doInBackground ( mixed $parameters ) : mixed | ||
$parameters | mixed | |
Результат | mixed |
final protected static getProperty ( string $key ) : mixed | ||
$key | string | |
Результат | mixed |
final public isCancelled ( ) : boolean | ||
Результат | boolean |
protected onCancelled ( ) : void | ||
Результат | void |
protected onPostExecute ( mixed $result ) : void | ||
$result | mixed | |
Результат | void |
protected onPreExecute ( ) : void | ||
Результат | void |