public class NSURLSessionTask extends NSObject
Constructor and Description |
---|
NSURLSessionTask() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
long |
countOfBytesExpectedToReceive() |
long |
countOfBytesExpectedToSend() |
long |
countOfBytesReceived() |
long |
countOfBytesSent() |
NSURLRequest |
currentRequest() |
NSError |
error() |
NSURLRequest |
originalRequest() |
float |
priority() |
NSURLResponse |
response() |
void |
resume() |
void |
setPriority(float priority) |
void |
setTaskDescription(String taskDescription) |
int |
state() |
void |
suspend() |
String |
taskDescription() |
int |
taskIdentifier() |
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public void cancel()
public void resume()
public void suspend()
public int state()
public float priority()
public void setPriority(float priority)
public long countOfBytesExpectedToReceive()
public long countOfBytesReceived()
public long countOfBytesExpectedToSend()
public long countOfBytesSent()
public NSURLRequest currentRequest()
public NSURLRequest originalRequest()
public NSURLResponse response()
public String taskDescription()
public void setTaskDescription(String taskDescription)
public int taskIdentifier()
public NSError error()
Copyright © 2020. All rights reserved.