Class UNUserNotificationCenterDelegateAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.usernotifications.UNUserNotificationCenterDelegateAdapter
- All Implemented Interfaces:
NSObjectProtocol,UNUserNotificationCenterDelegate,ObjCProtocol
public class UNUserNotificationCenterDelegateAdapter extends NSObject implements UNUserNotificationCenterDelegate
-
Nested Class Summary
Nested 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
Constructors Constructor Description UNUserNotificationCenterDelegateAdapter() -
Method Summary
Modifier and Type Method Description voiddidReceiveNotificationResponse(UNUserNotificationCenter center, UNNotificationResponse response, Runnable completionHandler)voidopenSettings(UNUserNotificationCenter center, UNNotification notification)voidwillPresentNotification(UNUserNotificationCenter center, UNNotification notification, VoidBlock1<UNNotificationPresentationOptions> completionHandler)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
-
UNUserNotificationCenterDelegateAdapter
public UNUserNotificationCenterDelegateAdapter()
-
-
Method Details
-
willPresentNotification
public void willPresentNotification(UNUserNotificationCenter center, UNNotification notification, VoidBlock1<UNNotificationPresentationOptions> completionHandler)- Specified by:
willPresentNotificationin interfaceUNUserNotificationCenterDelegate- Since:
- Available in iOS 10.0 and later.
-
didReceiveNotificationResponse
public void didReceiveNotificationResponse(UNUserNotificationCenter center, UNNotificationResponse response, Runnable completionHandler)- Specified by:
didReceiveNotificationResponsein interfaceUNUserNotificationCenterDelegate- Since:
- Available in iOS 10.0 and later.
-
openSettings
- Specified by:
openSettingsin interfaceUNUserNotificationCenterDelegate- Since:
- Available in iOS 12.0 and later.
-