Package apple.intents

Class INGetCarPowerLevelStatusIntentResponse

    • Constructor Detail

      • INGetCarPowerLevelStatusIntentResponse

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • chargePercentRemaining

        @Nullable
        public @Nullable NSNumber chargePercentRemaining()
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull 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

        @Nullable
        public @Nullable NSMeasurement<NSUnitLength> distanceRemaining()
        The distance that the car can travel on the remaining resources.
      • fuelPercentRemaining

        @Nullable
        public @Nullable NSNumber fuelPercentRemaining()
      • hash_static

        public static long hash_static()
      • initWithCodeUserActivity

        public INGetCarPowerLevelStatusIntentResponse initWithCodeUserActivity​(long code,
                                                                               @Nullable
                                                                               @Nullable 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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​(@Nullable
                                              @Nullable NSNumber value)
      • setDistanceRemaining

        public void setDistanceRemaining​(@Nullable
                                         @Nullable NSMeasurement<NSUnitLength> value)
        The distance that the car can travel on the remaining resources.
      • setFuelPercentRemaining

        public void setFuelPercentRemaining​(@Nullable
                                            @Nullable 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()
      • charging

        @Nullable
        public @Nullable NSNumber charging()
        API-Since: 12.0
      • minutesToFull

        @Nullable
        public @Nullable NSNumber minutesToFull()
        API-Since: 12.0
      • setCharging

        public void setCharging​(@Nullable
                                @Nullable NSNumber value)
        API-Since: 12.0
      • setMinutesToFull

        public void setMinutesToFull​(@Nullable
                                     @Nullable NSNumber value)
        API-Since: 12.0
      • activeConnector

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • carIdentifier

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • chargingFormulaArguments

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • consumptionFormulaArguments

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • currentBatteryCapacity

        @Nullable
        public @Nullable NSMeasurement<NSUnitEnergy> currentBatteryCapacity()
        The current capacity of the battery. currentBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity. API-Since: 14.0
      • dateOfLastStateUpdate

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • distanceRemainingElectric

        @Nullable
        public @Nullable NSMeasurement<NSUnitLength> distanceRemainingElectric()
        The maximum distance an electric vehicle can travel with the remaining charge. API-Since: 14.0
      • distanceRemainingFuel

        @Nullable
        public @Nullable NSMeasurement<NSUnitLength> distanceRemainingFuel()
        The maximum distance a vehicle can travel with the remaining fuel. API-Since: 14.0
      • maximumBatteryCapacity

        @Nullable
        public @Nullable NSMeasurement<NSUnitEnergy> maximumBatteryCapacity()
        The maximum rated capacity of the vehicle’s battery. maximumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity. API-Since: 14.0
      • maximumDistance

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • maximumDistanceElectric

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • maximumDistanceFuel

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • minimumBatteryCapacity

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • setActiveConnector

        public void setActiveConnector​(@Nullable
                                       @Nullable 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. API-Since: 14.0
      • setCarIdentifier

        public void setCarIdentifier​(@Nullable
                                     @Nullable 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. API-Since: 14.0
      • setChargingFormulaArguments

        public void setChargingFormulaArguments​(@Nullable
                                                @Nullable 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. API-Since: 14.0
      • setConsumptionFormulaArguments

        public void setConsumptionFormulaArguments​(@Nullable
                                                   @Nullable 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. API-Since: 14.0
      • setCurrentBatteryCapacity

        public void setCurrentBatteryCapacity​(@Nullable
                                              @Nullable NSMeasurement<NSUnitEnergy> value)
        The current capacity of the battery. currentBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity. API-Since: 14.0
      • setDateOfLastStateUpdate

        public void setDateOfLastStateUpdate​(@Nullable
                                             @Nullable 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. API-Since: 14.0
      • setDistanceRemainingElectric

        public void setDistanceRemainingElectric​(@Nullable
                                                 @Nullable NSMeasurement<NSUnitLength> value)
        The maximum distance an electric vehicle can travel with the remaining charge. API-Since: 14.0
      • setDistanceRemainingFuel

        public void setDistanceRemainingFuel​(@Nullable
                                             @Nullable NSMeasurement<NSUnitLength> value)
        The maximum distance a vehicle can travel with the remaining fuel. API-Since: 14.0
      • setMaximumBatteryCapacity

        public void setMaximumBatteryCapacity​(@Nullable
                                              @Nullable NSMeasurement<NSUnitEnergy> value)
        The maximum rated capacity of the vehicle’s battery. maximumBatteryCapacity should be set such that maximumBatteryCapacity >= currentBatteryCapacity >= minimumBatteryCapacity. API-Since: 14.0
      • setMaximumDistance

        public void setMaximumDistance​(@Nullable
                                       @Nullable 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. API-Since: 14.0
      • setMaximumDistanceElectric

        public void setMaximumDistanceElectric​(@Nullable
                                               @Nullable 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. API-Since: 14.0
      • setMaximumDistanceFuel

        public void setMaximumDistanceFuel​(@Nullable
                                           @Nullable 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. API-Since: 14.0
      • setMinimumBatteryCapacity

        public void setMinimumBatteryCapacity​(@Nullable
                                              @Nullable 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. API-Since: 14.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.