Package org.robovm.apple.foundation
Class NSThread
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSThread
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class NSThread extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSThread.Notificationsstatic classNSThread.NSThreadPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
-
Method Summary
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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
Method Details
-
getCurrentThread
-
getThreadDictionary
-
getQualityOfService
-
setQualityOfService
-
getCallStackReturnAddresses
-
getCallStackSymbols
-
getName
-
setName
-
getStackSize
public long getStackSize() -
setStackSize
public void setStackSize(long v) -
isMainThread
public boolean isMainThread() -
isCurrentThreadMainThread
public static boolean isCurrentThreadMainThread() -
getMainThread
-
isExecuting
public boolean isExecuting() -
isFinished
public boolean isFinished() -
isCancelled
public boolean isCancelled() -
WillBecomeMultiThreadedNotification
-
DidBecomeSingleThreadedNotification
-
WillExitNotification
-
init
-
init
- Since:
- Available in iOS 10.0 and later.
-
cancel
public void cancel() -
start
public void start() -
main
public void main() -
detachNewThread
- Since:
- Available in iOS 10.0 and later.
-
detachNewThread
-
isMultiThreaded
public static boolean isMultiThreaded() -
sleep
-
sleep
public static void sleep(double ti) -
exit
public static void exit() -
getThreadPriority
public static double getThreadPriority() -
setThreadPriority
public static boolean setThreadPriority(double p)
-