Package org.robovm.apple.foundation
Class NSExtensionContext
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSExtensionContext
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
ASCredentialProviderExtensionContext
,ILClassificationUIExtensionContext
,ILMessageFilterExtensionContext
,PHEditingExtensionContext
public class NSExtensionContext extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSExtensionContext.Notifications
static class
NSExtensionContext.NSExtensionContextPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSExtensionContext()
protected
NSExtensionContext(NSObject.Handle h, long handle)
protected
NSExtensionContext(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelRequest(NSError error)
void
completeRequest(NSArray<NSExtensionItem> items, org.robovm.objc.block.VoidBooleanBlock completionHandler)
NSArray<NSExtensionItem>
getInputItems()
static NSString
HostDidBecomeActiveNotification()
static NSString
HostDidEnterBackgroundNotification()
static NSString
HostWillEnterForegroundNotification()
static NSString
HostWillResignActiveNotification()
void
openURL(NSURL URL, org.robovm.objc.block.VoidBooleanBlock 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, willChangeValues
-
-
-
-
Constructor Detail
-
NSExtensionContext
public NSExtensionContext()
-
NSExtensionContext
protected NSExtensionContext(NSObject.Handle h, long handle)
-
NSExtensionContext
protected NSExtensionContext(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getInputItems
public NSArray<NSExtensionItem> getInputItems()
-
HostWillEnterForegroundNotification
public static NSString HostWillEnterForegroundNotification()
- Since:
- Available in iOS 8.2 and later.
-
HostDidEnterBackgroundNotification
public static NSString HostDidEnterBackgroundNotification()
- Since:
- Available in iOS 8.2 and later.
-
HostWillResignActiveNotification
public static NSString HostWillResignActiveNotification()
- Since:
- Available in iOS 8.2 and later.
-
HostDidBecomeActiveNotification
public static NSString HostDidBecomeActiveNotification()
- Since:
- Available in iOS 8.2 and later.
-
completeRequest
public void completeRequest(NSArray<NSExtensionItem> items, org.robovm.objc.block.VoidBooleanBlock completionHandler)
-
cancelRequest
public void cancelRequest(NSError error)
-
openURL
public void openURL(NSURL URL, org.robovm.objc.block.VoidBooleanBlock completionHandler)
-
-