프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$worker |
메소드 | 설명 | |
---|---|---|
cancelRun ( ) | ||
cleanObject ( ) | ||
getFromThreadStore ( string $identifier ) : mixed | Gets something into the local thread store. | |
getResult ( ) : mixed | ||
getTaskId ( ) | ||
hasCancelledRun ( ) | ||
hasResult ( ) : boolean | ||
isCrashed ( ) | ||
isFinished ( ) : boolean | ||
isGarbage ( ) : boolean | ||
onCompletion ( |
Actions to execute when completed (on main thread) Implement this if you want to handle the data in your AsyncTask after it has been processed | |
onRun ( ) : void | Actions to execute when run | |
run ( ) | ||
saveToThreadStore ( string $identifier, mixed $value ) | Saves something into the local thread store. | |
setGarbage ( ) | ||
setResult ( mixed $result, boolean $serialize = true ) | ||
setTaskId ( $taskId ) |
public getFromThreadStore ( string $identifier ) : mixed | ||
$identifier | string | |
리턴 | mixed |
public onCompletion ( |
||
$server | ||
리턴 | void |
public saveToThreadStore ( string $identifier, mixed $value ) | ||
$identifier | string | |
$value | mixed |