Package apple.intents

Class INGetCarPowerLevelStatusIntentResponse

    • Constructor Detail

      • INGetCarPowerLevelStatusIntentResponse

        protected INGetCarPowerLevelStatusIntentResponse​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • 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.
      • 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: NSSecureCoding
        This 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:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class INIntentResponse
      • version_static

        public static long version_static()
      • 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.