objc2-intents 0.3.2

Bindings to the Intents framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-location")]
use objc2_core_location::*;
use objc2_foundation::*;

use crate::*;

/// Deprecated.
#[cfg(all(feature = "INIntent", feature = "INRequestRideIntent"))]
impl INRequestRideIntent {
    extern_methods!(
        #[cfg(all(
            feature = "INPaymentMethod",
            feature = "INSpeakableString",
            feature = "objc2-core-location"
        ))]
        #[deprecated = "Use the designated initializer instead"]
        #[unsafe(method(initWithPickupLocation:dropOffLocation:rideOptionName:partySize:paymentMethod:))]
        #[unsafe(method_family = init)]
        pub unsafe fn initWithPickupLocation_dropOffLocation_rideOptionName_partySize_paymentMethod(
            this: Allocated<Self>,
            pickup_location: Option<&CLPlacemark>,
            drop_off_location: Option<&CLPlacemark>,
            ride_option_name: Option<&INSpeakableString>,
            party_size: Option<&NSNumber>,
            payment_method: Option<&INPaymentMethod>,
        ) -> Retained<Self>;
    );
}