Package org.robovm.apple.dispatch
Class DispatchBlock
java.lang.Object
org.robovm.apple.foundation.CocoaUtility
org.robovm.apple.dispatch.DispatchBlock
public final class DispatchBlock extends CocoaUtility
-
Method Summary
Modifier and Type Method Description static longblockWait(Runnable block, long timeout)static voidcancel(Runnable block)static Runnablecreate(DispatchBlockFlags flags, Runnable block)static RunnablecreateWithQosClass(DispatchBlockFlags flags, int qos_class, int relative_priority, Runnable block)static voidnotify(Runnable block, DispatchQueue queue, Runnable notification_block)static voidperform(DispatchBlockFlags flags, Runnable block)static longtestcancel(Runnable block)
-
Method Details
-
create
-
createWithQosClass
public static Runnable createWithQosClass(DispatchBlockFlags flags, int qos_class, int relative_priority, Runnable block) -
perform
-
blockWait
-
notify
-
cancel
-
testcancel
-