Package apple.intents

Class INRideCompletionStatus

    • Constructor Detail

      • INRideCompletionStatus

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static INRideCompletionStatus allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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)
      • canceledByService

        @NotNull
        public static @NotNull INRideCompletionStatus canceledByService()
        The ride was canceled by the service (e.g. because the driver asked to cancel)
      • canceledByUser

        @NotNull
        public static @NotNull INRideCompletionStatus canceledByUser()
        The ride was canceled by the user (e.g. by doing so through your application)
      • canceledMissedPickup

        @NotNull
        public static @NotNull INRideCompletionStatus canceledMissedPickup()
        The ride was canceled by the service because the passenger was not present for pickup and the vehicle maximum wait time elapsed.
      • classFallbacksForKeyedArchiver

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

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • completedWithOutstandingPaymentAmount

        @NotNull
        public static @NotNull INRideCompletionStatus completedWithOutstandingPaymentAmount​(@NotNull
                                                                                            @NotNull INCurrencyAmount outstandingPaymentAmount)
        The ride completed but there is a payment outstanding that the user needs to settle in the application. The .completionUserActivity should be set, and will be continued in your application to perform payment tasks.
      • completedWithSettledPaymentAmount

        @NotNull
        public static @NotNull INRideCompletionStatus completedWithSettledPaymentAmount​(@NotNull
                                                                                        @NotNull INCurrencyAmount settledPaymentAmount)
        The ride completed. The fare in the provided amount was successfully paid; this amount may be displayed to the user.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

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

        public static long version_static()
      • completionUserActivity

        @Nullable
        public @Nullable NSUserActivity completionUserActivity()
        If this property is set, UI may be shown to the user to complete post-ride tasks (e.g. for settling outstanding payment). Acting on that UI will continue this activity in your application.
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • isCanceled

        public boolean isCanceled()
        YES if the ride was canceled.
      • isCompleted

        public boolean isCompleted()
        YES if the ride was completed.
      • isMissedPickup

        public boolean isMissedPickup()
        YES if the user missed the pickup. This is only YES if .canceled is YES.
      • isOutstanding

        public boolean isOutstanding()
        Whether the payment is outstanding (YES) or settled (NO).
      • paymentAmount

        @Nullable
        public @Nullable INCurrencyAmount paymentAmount()
        The payment amount, if any.
      • setCompletionUserActivity

        public void setCompletionUserActivity​(@Nullable
                                              @Nullable NSUserActivity value)
        If this property is set, UI may be shown to the user to complete post-ride tasks (e.g. for settling outstanding payment). Acting on that UI will continue this activity in your application.
      • _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
      • completedWithOutstandingFeedbackType

        @NotNull
        public static @NotNull INRideCompletionStatus completedWithOutstandingFeedbackType​(long feedbackType)
        The ride completed but there is feedback outstanding that the user may provide to the system. See INSendRideFeedbackIntent. If feedbackType includes INRideFeedbackTypeOptionTip, the .defaultTippingOptions should be set. API-Since: 11.0
      • defaultTippingOptions

        @Nullable
        public @Nullable NSSet<? extends INCurrencyAmount> defaultTippingOptions()
        Default options the user can choose from when adding a tip. API-Since: 11.0
      • feedbackType

        public long feedbackType()
        The type of feedback requested, if any. API-Since: 11.0
      • setDefaultTippingOptions

        public void setDefaultTippingOptions​(@Nullable
                                             @Nullable NSSet<? extends INCurrencyAmount> value)
        Default options the user can choose from when adding a tip. API-Since: 11.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.