Package org.robovm.apple.dispatch
Class DispatchQueue
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.dispatch.DispatchObject
org.robovm.apple.dispatch.DispatchQueue
- Direct Known Subclasses:
DispatchWorkloop
public class DispatchQueue extends DispatchObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDispatchQueue.DispatchQueuePtrNested classes/interfaces inherited from class org.robovm.apple.dispatch.DispatchObject
DispatchObject.DispatchObjectPtrNested classes/interfaces inherited from class org.robovm.rt.bro.NativeObject
NativeObject.Marshaler -
Field Summary
Fields Modifier and Type Field Description static intPRIORITY_BACKGROUNDstatic intPRIORITY_DEFAULTstatic intPRIORITY_HIGHstatic intPRIORITY_LOW -
Constructor Summary
Constructors Modifier Constructor Description protectedDispatchQueue() -
Method Summary
Methods inherited from class org.robovm.apple.dispatch.DispatchObject
release, resume, retain, setTargetQueue, suspend
-
Field Details
-
PRIORITY_HIGH
public static final int PRIORITY_HIGH- See Also:
- Constant Field Values
-
PRIORITY_DEFAULT
public static final int PRIORITY_DEFAULT- See Also:
- Constant Field Values
-
PRIORITY_LOW
public static final int PRIORITY_LOW- See Also:
- Constant Field Values
-
PRIORITY_BACKGROUND
public static final int PRIORITY_BACKGROUND- See Also:
- Constant Field Values
-
-
Constructor Details
-
DispatchQueue
protected DispatchQueue()
-
-
Method Details
-
apply
- Since:
- Available in iOS 4.0 and later.
-
after
- Since:
- Available in iOS 4.0 and later.
-
at
Submits the specifiedRunnableon thisDispatchQueueat the specified time. -
getMainQueue
-
async
-
sync
-
asyncAndWait
- Since:
- Available in iOS 12.0 and later.
-
asyncAndWaitF
- Since:
- Available in iOS 12.0 and later.
-
getGlobalQueue
-
attrMakeInitiallyInactive
- Since:
- Available in iOS 10.0 and later.
-
attrMakeWithAutoreleaseFrequency
public static DispatchQueueAttr attrMakeWithAutoreleaseFrequency(DispatchQueueAttr attr, AutoreleaseFrequency frequency)- Since:
- Available in iOS 10.0 and later.
-
createWithTarget
public static DispatchQueue createWithTarget(String label, DispatchQueueAttr attr, DispatchQueue target)- Since:
- Available in iOS 10.0 and later.
-
create
-
getLabel
-
barrierAsync
-
barrierSync
-
barrierAsyncAndWait
- Since:
- Available in iOS 12.0 and later.
-
setSpecific
-
getSpecific
-
getCurrentSpecific
-
assertQueue
public void assertQueue()- Since:
- Available in iOS 10.0 and later.
-
assertQueueBarrier
public void assertQueueBarrier()- Since:
- Available in iOS 10.0 and later.
-
assertQueueNot
public void assertQueueNot()- Since:
- Available in iOS 10.0 and later.
-