//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/localauthentication/lacompaniontype?language=objc)
// NS_ENUM
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct LACompanionType(pub NSInteger);
impl LACompanionType {
    /// Paired Apple Watch
    #[doc(alias = "LACompanionTypeWatch")]
    pub const Watch: Self = Self(1);
    /// Paired Mac
    #[doc(alias = "LACompanionTypeMac")]
    pub const Mac: Self = Self(2);
}

unsafe impl Encode for LACompanionType {
    const ENCODING: Encoding = NSInteger::ENCODING;
}

unsafe impl RefEncode for LACompanionType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
