Package org.robovm.apple.foundation
Class NSURLSessionStreamTask
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLSessionTask
-
- org.robovm.apple.foundation.NSURLSessionStreamTask
-
- All Implemented Interfaces:
NSObjectProtocol
,NSProgressReporting
,org.robovm.objc.ObjCProtocol
public class NSURLSessionStreamTask extends NSURLSessionTask
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSURLSessionStreamTask.NSURLSessionStreamTaskPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSURLSessionTask
NSURLSessionTask.NSURLSessionTaskPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSURLSessionStreamTask()
protected
NSURLSessionStreamTask(NSObject.Handle h, long handle)
protected
NSURLSessionStreamTask(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
captureStreams()
void
closeRead()
void
closeWrite()
void
readData(long minBytes, long maxBytes, double timeout, org.robovm.objc.block.VoidBlock3<NSData,java.lang.Boolean,NSError> completionHandler)
void
startSecureConnection()
void
stopSecureConnection()
void
writeData(NSData data, double timeout, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
-
Methods inherited from class org.robovm.apple.foundation.NSURLSessionTask
cancel, getCountOfBytesClientExpectsToReceive, getCountOfBytesClientExpectsToSend, getCountOfBytesExpectedToReceive, getCountOfBytesExpectedToSend, getCountOfBytesReceived, getCountOfBytesSent, getCurrentRequest, getEarliestBeginDate, getError, getOriginalRequest, getPriority, getProgress, getResponse, getState, getTaskDescription, getTaskIdentifier, resume, setCountOfBytesClientExpectsToReceive, setCountOfBytesClientExpectsToSend, setEarliestBeginDate, setPriority, setTaskDescription, suspend
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSURLSessionStreamTask
public NSURLSessionStreamTask()
-
NSURLSessionStreamTask
protected NSURLSessionStreamTask(NSObject.Handle h, long handle)
-
NSURLSessionStreamTask
protected NSURLSessionStreamTask(NSObject.SkipInit skipInit)
-
-
Method Detail
-
readData
public void readData(long minBytes, long maxBytes, double timeout, org.robovm.objc.block.VoidBlock3<NSData,java.lang.Boolean,NSError> completionHandler)
-
writeData
public void writeData(NSData data, double timeout, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
-
captureStreams
public void captureStreams()
-
closeWrite
public void closeWrite()
-
closeRead
public void closeRead()
-
startSecureConnection
public void startSecureConnection()
-
stopSecureConnection
public void stopSecureConnection()
-
-