use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(CLBeaconIdentityCondition, CLCondition, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
#[deprecated]
pub struct CLBeaconIdentityConstraint;
);
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
extern_conformance!(
unsafe impl NSCoding for CLBeaconIdentityConstraint {}
);
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
extern_conformance!(
unsafe impl NSCopying for CLBeaconIdentityConstraint {}
);
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
unsafe impl CopyingHelper for CLBeaconIdentityConstraint {
type Result = Self;
}
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
extern_conformance!(
unsafe impl NSObjectProtocol for CLBeaconIdentityConstraint {}
);
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
extern_conformance!(
unsafe impl NSSecureCoding for CLBeaconIdentityConstraint {}
);
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
impl CLBeaconIdentityConstraint {
extern_methods!();
}
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
impl CLBeaconIdentityConstraint {
extern_methods!(
#[unsafe(method(initWithUUID:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithUUID(this: Allocated<Self>, uuid: &NSUUID) -> Retained<Self>;
#[unsafe(method(initWithUUID:major:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithUUID_major(
this: Allocated<Self>,
uuid: &NSUUID,
major: CLBeaconMajorValue,
) -> Retained<Self>;
#[unsafe(method(initWithUUID:major:minor:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithUUID_major_minor(
this: Allocated<Self>,
uuid: &NSUUID,
major: CLBeaconMajorValue,
minor: CLBeaconMinorValue,
) -> Retained<Self>;
);
}
#[cfg(all(feature = "CLBeaconIdentityCondition", feature = "CLCondition"))]
impl CLBeaconIdentityConstraint {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}