use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(INIntentResolutionResult, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "INIntentResolutionResult")]
#[deprecated = "INCarAudioSourceResolutionResult is deprecated. There is no replacement."]
pub struct INCarAudioSourceResolutionResult;
);
#[cfg(feature = "INIntentResolutionResult")]
extern_conformance!(
unsafe impl NSObjectProtocol for INCarAudioSourceResolutionResult {}
);
#[cfg(feature = "INIntentResolutionResult")]
impl INCarAudioSourceResolutionResult {
extern_methods!(
#[cfg(feature = "INCarAudioSource")]
#[deprecated = "INCarAudioSourceResolutionResult is deprecated. There is no replacement."]
#[unsafe(method(successWithResolvedCarAudioSource:))]
#[unsafe(method_family = none)]
pub unsafe fn successWithResolvedCarAudioSource(
resolved_car_audio_source: INCarAudioSource,
) -> Retained<Self>;
#[cfg(feature = "INCarAudioSource")]
#[deprecated]
#[unsafe(method(successWithResolvedValue:))]
#[unsafe(method_family = none)]
pub unsafe fn successWithResolvedValue(resolved_value: INCarAudioSource) -> Retained<Self>;
#[cfg(feature = "INCarAudioSource")]
#[deprecated = "INCarAudioSourceResolutionResult is deprecated. There is no replacement."]
#[unsafe(method(confirmationRequiredWithCarAudioSourceToConfirm:))]
#[unsafe(method_family = none)]
pub unsafe fn confirmationRequiredWithCarAudioSourceToConfirm(
car_audio_source_to_confirm: INCarAudioSource,
) -> Retained<Self>;
#[cfg(feature = "INCarAudioSource")]
#[deprecated]
#[unsafe(method(confirmationRequiredWithValueToConfirm:))]
#[unsafe(method_family = none)]
pub unsafe fn confirmationRequiredWithValueToConfirm(
value_to_confirm: INCarAudioSource,
) -> Retained<Self>;
);
}
#[cfg(feature = "INIntentResolutionResult")]
impl INCarAudioSourceResolutionResult {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(needsValue))]
#[unsafe(method_family = none)]
pub unsafe fn needsValue() -> Retained<Self>;
#[unsafe(method(notRequired))]
#[unsafe(method_family = none)]
pub unsafe fn notRequired() -> Retained<Self>;
#[unsafe(method(unsupported))]
#[unsafe(method_family = none)]
pub unsafe fn unsupported() -> Retained<Self>;
);
}
#[cfg(feature = "INIntentResolutionResult")]
impl INCarAudioSourceResolutionResult {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}