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:
java.lang.AutoCloseable
public class CFNotificationCenter extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFNotificationCenter.CFNotificationCenterPtr
static interface
CFNotificationCenter.NotificationCallback
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFNotificationCenter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObserver(CFType observer, CFNotificationCenter.NotificationCallback callBack, java.lang.String name, CFType object, CFNotificationSuspensionBehavior suspensionBehavior)
static long
getClassTypeID()
static CFNotificationCenter
getDarwinNotifyCenter()
static CFNotificationCenter
getLocalCenter()
void
postNotification(java.lang.String name, CFType object, NSDictionary userInfo, boolean deliverImmediately)
void
postNotification(java.lang.String name, CFType object, NSDictionary userInfo, CFNotificationPostingOptions options)
void
removeEveryObserver(CFType observer)
void
removeObserver(CFType observer, java.lang.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
-
-
-
-
Method Detail
-
addObserver
public void addObserver(CFType observer, CFNotificationCenter.NotificationCallback callBack, java.lang.String name, CFType object, CFNotificationSuspensionBehavior suspensionBehavior)
-
getClassTypeID
public static long getClassTypeID()
-
getLocalCenter
public static CFNotificationCenter getLocalCenter()
-
getDarwinNotifyCenter
public static CFNotificationCenter getDarwinNotifyCenter()
-
removeEveryObserver
public void removeEveryObserver(CFType observer)
-
postNotification
public void postNotification(java.lang.String name, CFType object, NSDictionary userInfo, boolean deliverImmediately)
-
postNotification
public void postNotification(java.lang.String name, CFType object, NSDictionary userInfo, CFNotificationPostingOptions options)
-
-