Package apple.intents
Class INGetCarPowerLevelStatusIntentResponse
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.intents.INIntentResponse
-
- apple.intents.INGetCarPowerLevelStatusIntentResponse
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
public class INGetCarPowerLevelStatusIntentResponse extends INIntentResponse
-
-
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 protectedINGetCarPowerLevelStatusIntentResponse(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()java.lang.StringactiveConnector()The current connector being used to deliver charge to the vehicle’s battery.static INGetCarPowerLevelStatusIntentResponsealloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)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)java.lang.StringcarIdentifier()An identifier for the vehicles.NSNumberchargePercentRemaining()NSNumbercharging()NSDictionary<java.lang.String,?>chargingFormulaArguments()A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains OEM provided parameters for the charging model that is used to calculate the duration of charging at a station.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()longcode()NSDictionary<java.lang.String,?>consumptionFormulaArguments()A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains the OEM provided parameters for the consumption model used to calculate the vehicle’s energy consumption as the user drives.NSMeasurement<NSUnitEnergy>currentBatteryCapacity()The current capacity of the battery. currentBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.NSDateComponentsdateOfLastStateUpdate()A time stamp for an instance of the state of charge.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()NSMeasurement<NSUnitLength>distanceRemaining()The distance that the car can travel on the remaining resources.NSMeasurement<NSUnitLength>distanceRemainingElectric()The maximum distance an electric vehicle can travel with the remaining charge.NSMeasurement<NSUnitLength>distanceRemainingFuel()The maximum distance a vehicle can travel with the remaining fuel.NSNumberfuelPercentRemaining()static longhash_static()INGetCarPowerLevelStatusIntentResponseinit()INGetCarPowerLevelStatusIntentResponseinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERINGetCarPowerLevelStatusIntentResponseinitWithCodeUserActivity(long code, NSUserActivity userActivity)The app extension has the option of capturing its private state as an NSUserActivity and returning it as the 'currentActivity'.static 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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)NSMeasurement<NSUnitEnergy>maximumBatteryCapacity()The maximum rated capacity of the vehicle’s battery. maximumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.NSMeasurement<NSUnitLength>maximumDistance()The maximum distance a vehicle can travel with full resources.NSMeasurement<NSUnitLength>maximumDistanceElectric()The maximum distance an electric vehicle can travel on a full charge.NSMeasurement<NSUnitLength>maximumDistanceFuel()The maximum distance a vehicle can travel with full resources.NSMeasurement<NSUnitEnergy>minimumBatteryCapacity()Minimum battery capacity.NSNumberminutesToFull()static java.lang.Objectnew_objc()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetActiveConnector(java.lang.String value)The current connector being used to deliver charge to the vehicle’s battery.voidsetCarIdentifier(java.lang.String value)An identifier for the vehicles.voidsetChargePercentRemaining(NSNumber value)voidsetCharging(NSNumber value)voidsetChargingFormulaArguments(NSDictionary<java.lang.String,?> value)A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains OEM provided parameters for the charging model that is used to calculate the duration of charging at a station.voidsetConsumptionFormulaArguments(NSDictionary<java.lang.String,?> value)A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains the OEM provided parameters for the consumption model used to calculate the vehicle’s energy consumption as the user drives.voidsetCurrentBatteryCapacity(NSMeasurement<NSUnitEnergy> value)The current capacity of the battery. currentBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.voidsetDateOfLastStateUpdate(NSDateComponents value)A time stamp for an instance of the state of charge.voidsetDistanceRemaining(NSMeasurement<NSUnitLength> value)The distance that the car can travel on the remaining resources.voidsetDistanceRemainingElectric(NSMeasurement<NSUnitLength> value)The maximum distance an electric vehicle can travel with the remaining charge.voidsetDistanceRemainingFuel(NSMeasurement<NSUnitLength> value)The maximum distance a vehicle can travel with the remaining fuel.voidsetFuelPercentRemaining(NSNumber value)voidsetMaximumBatteryCapacity(NSMeasurement<NSUnitEnergy> value)The maximum rated capacity of the vehicle’s battery. maximumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.voidsetMaximumDistance(NSMeasurement<NSUnitLength> value)The maximum distance a vehicle can travel with full resources.voidsetMaximumDistanceElectric(NSMeasurement<NSUnitLength> value)The maximum distance an electric vehicle can travel on a full charge.voidsetMaximumDistanceFuel(NSMeasurement<NSUnitLength> value)The maximum distance a vehicle can travel with full resources.voidsetMinimumBatteryCapacity(NSMeasurement<NSUnitEnergy> value)Minimum battery capacity.voidsetMinutesToFull(NSNumber value)static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static longversion_static()-
Methods inherited from class apple.intents.INIntentResponse
copyWithZone, encodeWithCoder, setUserActivity, userActivity
-
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 INGetCarPowerLevelStatusIntentResponse alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
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)
-
chargePercentRemaining
public NSNumber chargePercentRemaining()
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
code
public long code()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
distanceRemaining
public NSMeasurement<NSUnitLength> distanceRemaining()
The distance that the car can travel on the remaining resources.
-
fuelPercentRemaining
public NSNumber fuelPercentRemaining()
-
hash_static
public static long hash_static()
-
init
public INGetCarPowerLevelStatusIntentResponse init()
- Overrides:
initin classINIntentResponse
-
initWithCodeUserActivity
public INGetCarPowerLevelStatusIntentResponse initWithCodeUserActivity(long code, NSUserActivity userActivity)
The app extension has the option of capturing its private state as an NSUserActivity and returning it as the 'currentActivity'. If the the app is launched, an NSUserActivity will be passed in with the private state. The NSUserActivity may also be used to query the app's UI extension (if provided) for a view controller representing the current intent handling state. In the case of app launch, the NSUserActivity will have its activityType set to the name of the intent. This intent object will also be available in the NSUserActivity.interaction property.
-
initWithCoder
public INGetCarPowerLevelStatusIntentResponse initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classINIntentResponse
-
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)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
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)
-
setChargePercentRemaining
public void setChargePercentRemaining(NSNumber value)
-
setDistanceRemaining
public void setDistanceRemaining(NSMeasurement<NSUnitLength> value)
The distance that the car can travel on the remaining resources.
-
setFuelPercentRemaining
public void setFuelPercentRemaining(NSNumber value)
-
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- Overrides:
_supportsSecureCodingin classINIntentResponse
-
version_static
public static long version_static()
-
charging
public NSNumber charging()
-
minutesToFull
public NSNumber minutesToFull()
-
setCharging
public void setCharging(NSNumber value)
-
setMinutesToFull
public void setMinutesToFull(NSNumber value)
-
activeConnector
public java.lang.String activeConnector()
The current connector being used to deliver charge to the vehicle’s battery. If isCharging is set, this property should contain the active connector that is currently being used to charge the vehicle.
-
carIdentifier
public java.lang.String carIdentifier()
An identifier for the vehicles. Use this same value as the carIdentifier property of INCar. Do not use the VIN (or the equivalent code) as the identifier.
-
chargingFormulaArguments
public NSDictionary<java.lang.String,?> chargingFormulaArguments()
A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains OEM provided parameters for the charging model that is used to calculate the duration of charging at a station. The keys of this dictionary describe the parameters that fit into the Charging model of the electric vehicle. The values of this dictionary represent the parameter values. model_id is a mandatory key in this dictionary.
-
consumptionFormulaArguments
public NSDictionary<java.lang.String,?> consumptionFormulaArguments()
A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains the OEM provided parameters for the consumption model used to calculate the vehicle’s energy consumption as the user drives. The keys of this dictionary describe the parameters that fit into the consumption model of the electric vehicle. The values of this dictionary represent the parameter values. model_id is a mandatory key in this dictionary.
-
currentBatteryCapacity
public NSMeasurement<NSUnitEnergy> currentBatteryCapacity()
The current capacity of the battery. currentBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.
-
dateOfLastStateUpdate
public NSDateComponents dateOfLastStateUpdate()
A time stamp for an instance of the state of charge. This time stamp should ideally indicate when the actual state of charge was captured from the vehicle.
-
distanceRemainingElectric
public NSMeasurement<NSUnitLength> distanceRemainingElectric()
The maximum distance an electric vehicle can travel with the remaining charge.
-
distanceRemainingFuel
public NSMeasurement<NSUnitLength> distanceRemainingFuel()
The maximum distance a vehicle can travel with the remaining fuel.
-
maximumBatteryCapacity
public NSMeasurement<NSUnitEnergy> maximumBatteryCapacity()
The maximum rated capacity of the vehicle’s battery. maximumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.
-
maximumDistance
public NSMeasurement<NSUnitLength> maximumDistance()
The maximum distance a vehicle can travel with full resources. As the vehicle drives, this value can change over time as a result of driving characteristics.
-
maximumDistanceElectric
public NSMeasurement<NSUnitLength> maximumDistanceElectric()
The maximum distance an electric vehicle can travel on a full charge. This value can change overtime (and over several instances of the state of charge) as the vehicle drives.
-
maximumDistanceFuel
public NSMeasurement<NSUnitLength> maximumDistanceFuel()
The maximum distance a vehicle can travel with full resources. As the vehicle drives, this value can change over time as a result of driving characteristics.
-
minimumBatteryCapacity
public NSMeasurement<NSUnitEnergy> minimumBatteryCapacity()
Minimum battery capacity. Used to display to the user as the minimum (not to be confused with the absolute 0 Wh). This represents the value that is displayed to the driver as 0% battery. minimumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.
-
setActiveConnector
public void setActiveConnector(java.lang.String value)
The current connector being used to deliver charge to the vehicle’s battery. If isCharging is set, this property should contain the active connector that is currently being used to charge the vehicle.
-
setCarIdentifier
public void setCarIdentifier(java.lang.String value)
An identifier for the vehicles. Use this same value as the carIdentifier property of INCar. Do not use the VIN (or the equivalent code) as the identifier.
-
setChargingFormulaArguments
public void setChargingFormulaArguments(NSDictionary<java.lang.String,?> value)
A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains OEM provided parameters for the charging model that is used to calculate the duration of charging at a station. The keys of this dictionary describe the parameters that fit into the Charging model of the electric vehicle. The values of this dictionary represent the parameter values. model_id is a mandatory key in this dictionary.
-
setConsumptionFormulaArguments
public void setConsumptionFormulaArguments(NSDictionary<java.lang.String,?> value)
A dictionary mapping NSStrings to serializable objects (NSString, NSNumber, NSArray, NSDictionary, or NSNull) that contains the OEM provided parameters for the consumption model used to calculate the vehicle’s energy consumption as the user drives. The keys of this dictionary describe the parameters that fit into the consumption model of the electric vehicle. The values of this dictionary represent the parameter values. model_id is a mandatory key in this dictionary.
-
setCurrentBatteryCapacity
public void setCurrentBatteryCapacity(NSMeasurement<NSUnitEnergy> value)
The current capacity of the battery. currentBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.
-
setDateOfLastStateUpdate
public void setDateOfLastStateUpdate(NSDateComponents value)
A time stamp for an instance of the state of charge. This time stamp should ideally indicate when the actual state of charge was captured from the vehicle.
-
setDistanceRemainingElectric
public void setDistanceRemainingElectric(NSMeasurement<NSUnitLength> value)
The maximum distance an electric vehicle can travel with the remaining charge.
-
setDistanceRemainingFuel
public void setDistanceRemainingFuel(NSMeasurement<NSUnitLength> value)
The maximum distance a vehicle can travel with the remaining fuel.
-
setMaximumBatteryCapacity
public void setMaximumBatteryCapacity(NSMeasurement<NSUnitEnergy> value)
The maximum rated capacity of the vehicle’s battery. maximumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.
-
setMaximumDistance
public void setMaximumDistance(NSMeasurement<NSUnitLength> value)
The maximum distance a vehicle can travel with full resources. As the vehicle drives, this value can change over time as a result of driving characteristics.
-
setMaximumDistanceElectric
public void setMaximumDistanceElectric(NSMeasurement<NSUnitLength> value)
The maximum distance an electric vehicle can travel on a full charge. This value can change overtime (and over several instances of the state of charge) as the vehicle drives.
-
setMaximumDistanceFuel
public void setMaximumDistanceFuel(NSMeasurement<NSUnitLength> value)
The maximum distance a vehicle can travel with full resources. As the vehicle drives, this value can change over time as a result of driving characteristics.
-
setMinimumBatteryCapacity
public void setMinimumBatteryCapacity(NSMeasurement<NSUnitEnergy> value)
Minimum battery capacity. Used to display to the user as the minimum (not to be confused with the absolute 0 Wh). This represents the value that is displayed to the driver as 0% battery. minimumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity.
-
-