use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct MXMetaData;
unsafe impl ClassType for MXMetaData {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for MXMetaData {}
unsafe impl NSObjectProtocol for MXMetaData {}
unsafe impl NSSecureCoding for MXMetaData {}
extern_methods!(
unsafe impl MXMetaData {
#[method_id(@__retain_semantics Other regionFormat)]
pub unsafe fn regionFormat(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other osVersion)]
pub unsafe fn osVersion(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other deviceType)]
pub unsafe fn deviceType(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other applicationBuildVersion)]
pub unsafe fn applicationBuildVersion(&self) -> Id<NSString>;
#[method_id(@__retain_semantics Other platformArchitecture)]
pub unsafe fn platformArchitecture(&self) -> Id<NSString>;
#[method(lowPowerModeEnabled)]
pub unsafe fn lowPowerModeEnabled(&self) -> bool;
#[method(isTestFlightApp)]
pub unsafe fn isTestFlightApp(&self) -> bool;
#[method_id(@__retain_semantics Other JSONRepresentation)]
pub unsafe fn JSONRepresentation(&self) -> Id<NSData>;
#[deprecated]
#[method_id(@__retain_semantics Other DictionaryRepresentation)]
pub unsafe fn DictionaryRepresentation(&self) -> Id<NSDictionary>;
#[method_id(@__retain_semantics Other dictionaryRepresentation)]
pub unsafe fn dictionaryRepresentation(&self) -> Id<NSDictionary>;
}
);
extern_methods!(
unsafe impl MXMetaData {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);