| Modifier and Type | Class and Description |
|---|---|
static interface |
CPInterfaceController.Block_dismissTemplateAnimatedCompletion |
static interface |
CPInterfaceController.Block_popTemplateAnimatedCompletion |
static interface |
CPInterfaceController.Block_popToRootTemplateAnimatedCompletion |
static interface |
CPInterfaceController.Block_popToTemplateAnimatedCompletion |
static interface |
CPInterfaceController.Block_presentTemplateAnimatedCompletion |
static interface |
CPInterfaceController.Block_pushTemplateAnimatedCompletion |
static interface |
CPInterfaceController.Block_setRootTemplateAnimatedCompletion |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CPInterfaceController(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static CPInterfaceController |
alloc() |
static CPInterfaceController |
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) |
UITraitCollection |
carTraitCollection()
The trait collection for the car's primary screen.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
CPInterfaceControllerDelegate |
delegate()
The delegate for this interface controller.
|
static java.lang.String |
description_static() |
void |
dismissTemplateAnimated(boolean animated)
Dismiss the current modally-presented template, optionally animating the dismissal.
|
void |
dismissTemplateAnimatedCompletion(boolean animated,
CPInterfaceController.Block_dismissTemplateAnimatedCompletion completion)
Dismiss the current modally-presented template, optionally animating the dismissal.
|
static long |
hash_static() |
CPInterfaceController |
init() |
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) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CPInterfaceController |
new_objc() |
void |
popTemplateAnimated(boolean animated)
Pop back a single level in the template navigation hierarchy.
|
void |
popTemplateAnimatedCompletion(boolean animated,
CPInterfaceController.Block_popTemplateAnimatedCompletion completion)
Pop back a single level in the template navigation hierarchy.
|
void |
popToRootTemplateAnimated(boolean animated)
Pop back to the first template in the template navigation hierarchy.
|
void |
popToRootTemplateAnimatedCompletion(boolean animated,
CPInterfaceController.Block_popToRootTemplateAnimatedCompletion completion)
Pop back to the first template in the template navigation hierarchy.
|
void |
popToTemplateAnimated(CPTemplate targetTemplate,
boolean animated)
Pop back to a specified template.
|
void |
popToTemplateAnimatedCompletion(CPTemplate targetTemplate,
boolean animated,
CPInterfaceController.Block_popToTemplateAnimatedCompletion completion)
Pop back to a specified template.
|
boolean |
prefersDarkUserInterfaceStyle()
Set the preferred interface style to UIUserInterfaceStyleDark for all templates.
|
CPTemplate |
presentedTemplate()
The current modally-presented template.
|
void |
presentTemplateAnimated(CPTemplate templateToPresent,
boolean animated)
Present a template modally over the navigation hierarchy.
|
void |
presentTemplateAnimatedCompletion(CPTemplate templateToPresent,
boolean animated,
CPInterfaceController.Block_presentTemplateAnimatedCompletion completion)
Present a template modally over the navigation hierarchy.
|
void |
pushTemplateAnimated(CPTemplate templateToPush,
boolean animated)
Push a new template onto the template navigation hierarchy, showing it immediately.
|
void |
pushTemplateAnimatedCompletion(CPTemplate templateToPush,
boolean animated,
CPInterfaceController.Block_pushTemplateAnimatedCompletion completion)
Push a new template onto the template navigation hierarchy, showing it immediately.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
CPTemplate |
rootTemplate()
Returns the root template.
|
void |
setDelegate_unsafe(CPInterfaceControllerDelegate value)
The delegate for this interface controller.
|
void |
setDelegate(CPInterfaceControllerDelegate value)
The delegate for this interface controller.
|
void |
setPrefersDarkUserInterfaceStyle(boolean value)
Set the preferred interface style to UIUserInterfaceStyleDark for all templates.
|
void |
setRootTemplateAnimated(CPTemplate rootTemplate,
boolean animated)
Set the root template.
|
void |
setRootTemplateAnimatedCompletion(CPTemplate rootTemplate,
boolean animated,
CPInterfaceController.Block_setRootTemplateAnimatedCompletion completion)
Set the root template.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
NSArray<? extends CPTemplate> |
templates()
The current stack of templates in the navigation hierarchy.
|
CPTemplate |
topTemplate()
The top template in the navigation hierarchy.
|
static long |
version_static() |
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 CPInterfaceController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static CPInterfaceController alloc()
public static CPInterfaceController 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 CPInterfaceControllerDelegate delegate()
public static java.lang.String description_static()
public void dismissTemplateAnimated(boolean animated)
[@note] If there is no current modally-presented template, this method will have no effect.
public static long hash_static()
public CPInterfaceController init()
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 CPInterfaceController new_objc()
public void popTemplateAnimated(boolean animated)
public void popToRootTemplateAnimated(boolean animated)
public void popToTemplateAnimated(CPTemplate targetTemplate, boolean animated)
targetTemplate must exist in the current template navigation hierarchy.
public boolean prefersDarkUserInterfaceStyle()
public void presentTemplateAnimated(CPTemplate templateToPresent, boolean animated)
[@note] Supported template types: @c CPActionSheetTemplate, @c CPAlertTemplate, @c CPVoiceControlTemplate
public CPTemplate presentedTemplate()
[@warning] Reading this property may synchronously perform an IPC call to retrieve the current presented template.
public void pushTemplateAnimated(CPTemplate templateToPush, boolean animated)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public CPTemplate rootTemplate()
public void setDelegate_unsafe(CPInterfaceControllerDelegate value)
public void setDelegate(CPInterfaceControllerDelegate value)
public void setPrefersDarkUserInterfaceStyle(boolean value)
public void setRootTemplateAnimated(CPTemplate rootTemplate, boolean animated)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public NSArray<? extends CPTemplate> templates()
[@warning] Reading this property may synchronously perform an IPC call to retrieve the current stack of templates.
public CPTemplate topTemplate()
[@warning] Reading this property may synchronously perform an IPC call to retrieve the current top-most template.
public static long version_static()
public UITraitCollection carTraitCollection()
Your app should use this trait collection when deriving metrics, like screen scale, for your templates. For example, images you display in any template should be sized to a display scale matching the scale of the @c carTraitCollection, not the scale of the iOS device's main screen.
public void dismissTemplateAnimatedCompletion(boolean animated,
CPInterfaceController.Block_dismissTemplateAnimatedCompletion completion)
[@note] If there is no current modally-presented template, this method will have no effect.
The completion block will be called after the template has been dismissed. If the template was dismissed successfully, the boolean parameter will be YES. Otherwise, the boolean parameter will be NO and an @c NSError will be provided describing the failure.
public void popTemplateAnimatedCompletion(boolean animated,
CPInterfaceController.Block_popTemplateAnimatedCompletion completion)
public void popToRootTemplateAnimatedCompletion(boolean animated,
CPInterfaceController.Block_popToRootTemplateAnimatedCompletion completion)
public void popToTemplateAnimatedCompletion(CPTemplate targetTemplate, boolean animated, CPInterfaceController.Block_popToTemplateAnimatedCompletion completion)
targetTemplate must exist in the current template navigation hierarchy.
The completion block will be called after the pop completes. If the specified template does not exist in the template stack, the completion block will be called with a success parameter of NO and a non-nil NSError.
public void presentTemplateAnimatedCompletion(CPTemplate templateToPresent, boolean animated, CPInterfaceController.Block_presentTemplateAnimatedCompletion completion)
[@note] Supported template types: @c CPActionSheetTemplate, @c CPAlertTemplate, @c CPVoiceControlTemplate
The completion block will be called after the template has been presented. If the template was presented successfully, the boolean parameter will be YES. Otherwise, the boolean parameter will be NO and an @c NSError will be provided describing the failure.
[@note] If the template presentation is not successful AND no completion block is specified, an exception will be thrown.
public void pushTemplateAnimatedCompletion(CPTemplate templateToPush, boolean animated, CPInterfaceController.Block_pushTemplateAnimatedCompletion completion)
The completion block will be called after the template has been presented. If the template was presented successfully, the boolean parameter will be YES. Otherwise, the boolean parameter will be NO and an @c NSError will be provided describing the failure.
[@note] If the template presentation is not successful AND no completion block is specified, an exception will be thrown.
public void setRootTemplateAnimatedCompletion(CPTemplate rootTemplate, boolean animated, CPInterfaceController.Block_setRootTemplateAnimatedCompletion completion)
The completion block will be called after the template has been presented. If the template was presented successfully, the boolean parameter will be YES. Otherwise, the boolean parameter will be NO and an @c NSError will be provided describing the failure.
[@note] If the template presentation is not successful AND no completion block is specified, an exception will be thrown.