Package apple.carplay
Class CPManeuver
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.carplay.CPManeuver
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
public class CPManeuver extends NSObject implements NSCopying, NSSecureCoding
[@c] CPManeuver describes a navigation instruction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCPManeuver(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static CPManeuveralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSArray<? extends NSAttributedString>attributedInstructionVariants()attributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver, arranged from most to least preferred.static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSArray<? extends NSAttributedString>dashboardAttributedInstructionVariants()dashboardAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred.NSArray<java.lang.String>dashboardInstructionVariants()dashboardInstructionVariants is an array of @c NSString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred.UIImagedashboardJunctionImage()dashboardJunctionImage is a @c UIImage used to display a junction for the maneuver on the dashboard.UIImagedashboardSymbolImage()dashboardSymbolImage is a @c UIImage representing the maneuver that will be used on the dashboard.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidencodeWithCoder(NSCoder coder)static longhash_static()CPManeuverinit()CPTravelEstimatesinitialTravelEstimates()initialTravelEstimates represents the estimates beginning from the end of the preceding maneuver.CPManeuverinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)NSArray<java.lang.String>instructionVariants()instructionVariants is an array of @c NSString representing the instruction for this maneuver, arranged from most to least preferred.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)UIImagejunctionImage()junctionImage is a @c UIImage used to display a junction for the maneuver.static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()NSArray<? extends NSAttributedString>notificationAttributedInstructionVariants()notificationAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred.NSArray<java.lang.String>notificationInstructionVariants()notificationInstructionVariants is an array of @c NSString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred.UIImagenotificationSymbolImage()notificationSymbolImage is a @c UIImage representing the maneuver that will be used in a notification banner.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAttributedInstructionVariants(NSArray<? extends NSAttributedString> value)attributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver, arranged from most to least preferred.voidsetDashboardAttributedInstructionVariants(NSArray<? extends NSAttributedString> value)dashboardAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred.voidsetDashboardInstructionVariants(NSArray<java.lang.String> value)dashboardInstructionVariants is an array of @c NSString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred.voidsetDashboardJunctionImage(UIImage value)dashboardJunctionImage is a @c UIImage used to display a junction for the maneuver on the dashboard.voidsetDashboardSymbolImage(UIImage value)dashboardSymbolImage is a @c UIImage representing the maneuver that will be used on the dashboard.voidsetInitialTravelEstimates(CPTravelEstimates value)initialTravelEstimates represents the estimates beginning from the end of the preceding maneuver.voidsetInstructionVariants(NSArray<java.lang.String> value)instructionVariants is an array of @c NSString representing the instruction for this maneuver, arranged from most to least preferred.voidsetJunctionImage(UIImage value)junctionImage is a @c UIImage used to display a junction for the maneuver.voidsetNotificationAttributedInstructionVariants(NSArray<? extends NSAttributedString> value)notificationAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred.voidsetNotificationInstructionVariants(NSArray<java.lang.String> value)notificationInstructionVariants is an array of @c NSString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred.voidsetNotificationSymbolImage(UIImage value)notificationSymbolImage is a @c UIImage representing the maneuver that will be used in a notification banner.voidsetSymbolImage(UIImage value)symbolImage is a @c UIImage representing the maneuver.voidsetSymbolSet(CPImageSet value)symbolSet is a @c CPImageSet representing the maneuver.voidsetUserInfo(java.lang.Object value)Any custom user info related to this maneuver.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()UIImagesymbolImage()symbolImage is a @c UIImage representing the maneuver.CPImageSetsymbolSet()symbolSet is a @c CPImageSet representing the maneuver.java.lang.ObjectuserInfo()Any custom user info related to this maneuver.static longversion_static()-
Methods inherited from class apple.NSObject
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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CPManeuver alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
attributedInstructionVariants
public NSArray<? extends NSAttributedString> attributedInstructionVariants()
attributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver, arranged from most to least preferred. [@c] attributedInstructionVariants will be preferred over instructionVariants. You must provide at least one variant for each maneuver. Only one attribute is presently supported: text attachments. You may annotate a maneuver instruction with an image by including a text attachment. The maximum text attachment image size is 64x16 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
hash_static
public static long hash_static()
-
init
public CPManeuver init()
-
initWithCoder
public CPManeuver initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initialTravelEstimates
public CPTravelEstimates initialTravelEstimates()
initialTravelEstimates represents the estimates beginning from the end of the preceding maneuver.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
instructionVariants
public NSArray<java.lang.String> instructionVariants()
instructionVariants is an array of @c NSString representing the instruction for this maneuver, arranged from most to least preferred. You must provide at least one variant. The variant strings should be provided as localized, displayable content.
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
junctionImage
public UIImage junctionImage()
junctionImage is a @c UIImage used to display a junction for the maneuver. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio.
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAttributedInstructionVariants
public void setAttributedInstructionVariants(NSArray<? extends NSAttributedString> value)
attributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver, arranged from most to least preferred. [@c] attributedInstructionVariants will be preferred over instructionVariants. You must provide at least one variant for each maneuver. Only one attribute is presently supported: text attachments. You may annotate a maneuver instruction with an image by including a text attachment. The maximum text attachment image size is 64x16 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
-
setInitialTravelEstimates
public void setInitialTravelEstimates(CPTravelEstimates value)
initialTravelEstimates represents the estimates beginning from the end of the preceding maneuver.
-
setInstructionVariants
public void setInstructionVariants(NSArray<java.lang.String> value)
instructionVariants is an array of @c NSString representing the instruction for this maneuver, arranged from most to least preferred. You must provide at least one variant. The variant strings should be provided as localized, displayable content.
-
setJunctionImage
public void setJunctionImage(UIImage value)
junctionImage is a @c UIImage used to display a junction for the maneuver. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio.
-
setSymbolImage
public void setSymbolImage(UIImage value)
symbolImage is a @c UIImage representing the maneuver. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds.
-
setSymbolSet
public void setSymbolSet(CPImageSet value)
symbolSet is a @c CPImageSet representing the maneuver.
-
setUserInfo
public void setUserInfo(java.lang.Object value)
Any custom user info related to this maneuver.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
symbolImage
public UIImage symbolImage()
symbolImage is a @c UIImage representing the maneuver. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds.
-
symbolSet
public CPImageSet symbolSet()
symbolSet is a @c CPImageSet representing the maneuver.
-
userInfo
public java.lang.Object userInfo()
Any custom user info related to this maneuver.
-
version_static
public static long version_static()
-
dashboardAttributedInstructionVariants
public NSArray<? extends NSAttributedString> dashboardAttributedInstructionVariants()
dashboardAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. [@c] dashboardAttributedInstructionVariants will be preferred over dashboardInstructionVariants. If no dashboard attributed variants are provided, dashboardInstructionVariants will be used. Only one attribute is presently supported: text attachments. You may annotate a maneuver instruction with an image by including a text attachment. The maximum text attachment image size is 64x16 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
-
dashboardInstructionVariants
public NSArray<java.lang.String> dashboardInstructionVariants()
dashboardInstructionVariants is an array of @c NSString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. If no dashboard variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content.
-
dashboardJunctionImage
public UIImage dashboardJunctionImage()
dashboardJunctionImage is a @c UIImage used to display a junction for the maneuver on the dashboard. If no dashboard junction image is provided, junctionImage will be used. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio.
-
dashboardSymbolImage
public UIImage dashboardSymbolImage()
dashboardSymbolImage is a @c UIImage representing the maneuver that will be used on the dashboard. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no dashboard image is provided, symbolImage will be used.
-
notificationAttributedInstructionVariants
public NSArray<? extends NSAttributedString> notificationAttributedInstructionVariants()
notificationAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. [@c] notificationAttributedInstructionVariants will be preferred over instructionVariants. If no notification attributed variants are provided, notificationInstructionVariants will be used. Only one attribute is presently supported: text attachments. You may annotate a maneuver instruction with an image by including a text attachment. The maximum text attachment image size is 64x16 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
-
notificationInstructionVariants
public NSArray<java.lang.String> notificationInstructionVariants()
notificationInstructionVariants is an array of @c NSString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. If no notification instruction variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content.
-
notificationSymbolImage
public UIImage notificationSymbolImage()
notificationSymbolImage is a @c UIImage representing the maneuver that will be used in a notification banner. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no notification symbol image is provided, symbolImage will be used.
-
setDashboardAttributedInstructionVariants
public void setDashboardAttributedInstructionVariants(NSArray<? extends NSAttributedString> value)
dashboardAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. [@c] dashboardAttributedInstructionVariants will be preferred over dashboardInstructionVariants. If no dashboard attributed variants are provided, dashboardInstructionVariants will be used. Only one attribute is presently supported: text attachments. You may annotate a maneuver instruction with an image by including a text attachment. The maximum text attachment image size is 64x16 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
-
setDashboardInstructionVariants
public void setDashboardInstructionVariants(NSArray<java.lang.String> value)
dashboardInstructionVariants is an array of @c NSString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. If no dashboard variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content.
-
setDashboardJunctionImage
public void setDashboardJunctionImage(UIImage value)
dashboardJunctionImage is a @c UIImage used to display a junction for the maneuver on the dashboard. If no dashboard junction image is provided, junctionImage will be used. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio.
-
setDashboardSymbolImage
public void setDashboardSymbolImage(UIImage value)
dashboardSymbolImage is a @c UIImage representing the maneuver that will be used on the dashboard. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no dashboard image is provided, symbolImage will be used.
-
setNotificationAttributedInstructionVariants
public void setNotificationAttributedInstructionVariants(NSArray<? extends NSAttributedString> value)
notificationAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. [@c] notificationAttributedInstructionVariants will be preferred over instructionVariants. If no notification attributed variants are provided, notificationInstructionVariants will be used. Only one attribute is presently supported: text attachments. You may annotate a maneuver instruction with an image by including a text attachment. The maximum text attachment image size is 64x16 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
-
setNotificationInstructionVariants
public void setNotificationInstructionVariants(NSArray<java.lang.String> value)
notificationInstructionVariants is an array of @c NSString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. If no notification instruction variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content.
-
setNotificationSymbolImage
public void setNotificationSymbolImage(UIImage value)
notificationSymbolImage is a @c UIImage representing the maneuver that will be used in a notification banner. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no notification symbol image is provided, symbolImage will be used.
-
-