objc2_intents/generated/
INRequestRideIntent_Deprecated.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5#[cfg(feature = "objc2-core-location")]
6use objc2_core_location::*;
7use objc2_foundation::*;
8
9use crate::*;
10
11/// Deprecated.
12#[cfg(all(feature = "INIntent", feature = "INRequestRideIntent"))]
13impl INRequestRideIntent {
14    extern_methods!(
15        #[cfg(all(
16            feature = "INPaymentMethod",
17            feature = "INSpeakableString",
18            feature = "objc2-core-location"
19        ))]
20        #[deprecated = "Use the designated initializer instead"]
21        #[unsafe(method(initWithPickupLocation:dropOffLocation:rideOptionName:partySize:paymentMethod:))]
22        #[unsafe(method_family = init)]
23        pub unsafe fn initWithPickupLocation_dropOffLocation_rideOptionName_partySize_paymentMethod(
24            this: Allocated<Self>,
25            pickup_location: Option<&CLPlacemark>,
26            drop_off_location: Option<&CLPlacemark>,
27            ride_option_name: Option<&INSpeakableString>,
28            party_size: Option<&NSNumber>,
29            payment_method: Option<&INPaymentMethod>,
30        ) -> Retained<Self>;
31    );
32}