Package org.robovm.apple.corefoundation
Class CFNotificationCenter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFNotificationCenter
- All Implemented Interfaces:
AutoCloseable
public class CFNotificationCenter extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFNotificationCenter.CFNotificationCenterPtrstatic interfaceCFNotificationCenter.NotificationCallbackNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFNotificationCenter() -
Method Summary
Modifier and Type Method Description voidaddObserver(CFType observer, CFNotificationCenter.NotificationCallback callBack, String name, CFType object, CFNotificationSuspensionBehavior suspensionBehavior)static longgetClassTypeID()static CFNotificationCentergetDarwinNotifyCenter()static CFNotificationCentergetLocalCenter()voidpostNotification(String name, CFType object, NSDictionary userInfo, boolean deliverImmediately)voidpostNotification(String name, CFType object, NSDictionary userInfo, CFNotificationPostingOptions options)voidremoveEveryObserver(CFType observer)voidremoveObserver(CFType observer, String name, CFType object)Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CFNotificationCenter
protected CFNotificationCenter()
-
-
Method Details
-
addObserver
public void addObserver(CFType observer, CFNotificationCenter.NotificationCallback callBack, String name, CFType object, CFNotificationSuspensionBehavior suspensionBehavior) -
getClassTypeID
public static long getClassTypeID() -
getLocalCenter
-
getDarwinNotifyCenter
-
removeObserver
-
removeEveryObserver
-
postNotification
public void postNotification(String name, CFType object, NSDictionary userInfo, boolean deliverImmediately) -
postNotification
public void postNotification(String name, CFType object, NSDictionary userInfo, CFNotificationPostingOptions options)
-