public class NSExtensionContext extends NSObject
| Modifier and Type | Class and Description |
|---|---|
static interface |
NSExtensionContext.Block_completeRequestReturningItemsCompletionHandler |
static interface |
NSExtensionContext.Block_loadBroadcastingApplicationInfoWithCompletion |
static interface |
NSExtensionContext.Block_openURLCompletionHandler |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSExtensionContext(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSExtensionContext |
alloc() |
static NSExtensionContext |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
void |
cancelRequestWithError(NSError error)
Signals the host to cancel the app extension request, with the supplied error, which should be non-nil.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
void |
completeRequestReturningItemsCompletionHandler(NSArray<?> items,
NSExtensionContext.Block_completeRequestReturningItemsCompletionHandler completionHandler)
Signals the host to complete the app extension request with the supplied result items.
|
void |
completeRequestWithBroadcastURLBroadcastConfigurationSetupInfo(NSURL broadcastURL,
RPBroadcastConfiguration broadcastConfiguration,
NSDictionary<java.lang.String,? extends NSObject> setupInfo) |
void |
completeRequestWithBroadcastURLSetupInfo(NSURL broadcastURL,
NSDictionary<java.lang.String,? extends NSObject> setupInfo) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
dismissNotificationContentExtension() |
static long |
hash_static() |
CGSize |
hostedViewMaximumAllowedSize() |
CGSize |
hostedViewMinimumAllowedSize() |
NSExtensionContext |
init() |
NSArray<?> |
inputItems()
The list of input NSExtensionItems associated with the context.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
INIntent |
intent() |
java.lang.String |
interfaceParametersDescription() |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
void |
loadBroadcastingApplicationInfoWithCompletion(NSExtensionContext.Block_loadBroadcastingApplicationInfoWithCompletion handler)
Load information about the broadcasting app.
|
void |
mediaPlayingPaused() |
void |
mediaPlayingStarted()
Call these methods when the playback state changes in the content
extension to update the state of the media control button.
|
static NSExtensionContext |
new_objc() |
NSArray<? extends UNNotificationAction> |
notificationActions() |
void |
openURLCompletionHandler(NSURL URL,
NSExtensionContext.Block_openURLCompletionHandler completionHandler)
Asks the host to open a URL on the extension's behalf
|
void |
performNotificationDefaultAction()
Opens the corresponding applicaton and delivers it the default notification action response
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setNotificationActions(NSArray<? extends UNNotificationAction> value) |
static void |
setVersion_static(long aVersion) |
void |
setWidgetLargestAvailableDisplayMode(long value)
Widgets can change the largest display mode they make available from the default 'NCWidgetDisplayModeCompact' by messaging the extension context.
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
long |
widgetActiveDisplayMode() |
long |
widgetLargestAvailableDisplayMode()
Widgets can change the largest display mode they make available from the default 'NCWidgetDisplayModeCompact' by messaging the extension context.
|
CGSize |
widgetMaximumSizeForDisplayMode(long displayMode) |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected NSExtensionContext(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSExtensionContext alloc()
public static NSExtensionContext allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSExtensionContext new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void cancelRequestWithError(NSError error)
public void completeRequestReturningItemsCompletionHandler(NSArray<?> items, NSExtensionContext.Block_completeRequestReturningItemsCompletionHandler completionHandler)
public void completeRequestWithBroadcastURLBroadcastConfigurationSetupInfo(NSURL broadcastURL, RPBroadcastConfiguration broadcastConfiguration, NSDictionary<java.lang.String,? extends NSObject> setupInfo)
public CGSize hostedViewMaximumAllowedSize()
public CGSize hostedViewMinimumAllowedSize()
public NSExtensionContext init()
public NSArray<?> inputItems()
public void loadBroadcastingApplicationInfoWithCompletion(NSExtensionContext.Block_loadBroadcastingApplicationInfoWithCompletion handler)
handler - block which will be supplied a bundleID, displayName and an optional appIcon.public void mediaPlayingPaused()
public void mediaPlayingStarted()
public void openURLCompletionHandler(NSURL URL, NSExtensionContext.Block_openURLCompletionHandler completionHandler)
public void setWidgetLargestAvailableDisplayMode(long value)
public long widgetActiveDisplayMode()
public long widgetLargestAvailableDisplayMode()
public CGSize widgetMaximumSizeForDisplayMode(long displayMode)
public void completeRequestWithBroadcastURLSetupInfo(NSURL broadcastURL, NSDictionary<java.lang.String,? extends NSObject> setupInfo)
public java.lang.String interfaceParametersDescription()
public void dismissNotificationContentExtension()
public INIntent intent()
public NSArray<? extends UNNotificationAction> notificationActions()
public void performNotificationDefaultAction()
public void setNotificationActions(NSArray<? extends UNNotificationAction> value)