use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-app-kit")]
#[cfg(target_os = "macos")]
use objc2_app_kit::*;
#[cfg(feature = "objc2-av-foundation")]
use objc2_av_foundation::*;
#[cfg(feature = "objc2-core-location")]
use objc2_core_location::*;
use objc2_foundation::*;
#[cfg(feature = "objc2-uniform-type-identifiers")]
use objc2_uniform_type_identifiers::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct PHContentEditingInput;
);
extern_conformance!(
unsafe impl NSObjectProtocol for PHContentEditingInput {}
);
impl PHContentEditingInput {
extern_methods!(
#[cfg(feature = "PhotosTypes")]
#[unsafe(method(mediaType))]
#[unsafe(method_family = none)]
pub unsafe fn mediaType(&self) -> PHAssetMediaType;
#[cfg(feature = "PhotosTypes")]
#[unsafe(method(mediaSubtypes))]
#[unsafe(method_family = none)]
pub unsafe fn mediaSubtypes(&self) -> PHAssetMediaSubtype;
#[unsafe(method(creationDate))]
#[unsafe(method_family = none)]
pub unsafe fn creationDate(&self) -> Option<Retained<NSDate>>;
#[cfg(feature = "objc2-core-location")]
#[unsafe(method(location))]
#[unsafe(method_family = none)]
pub unsafe fn location(&self) -> Option<Retained<CLLocation>>;
#[cfg(feature = "objc2-uniform-type-identifiers")]
#[unsafe(method(contentType))]
#[unsafe(method_family = none)]
pub unsafe fn contentType(&self) -> Option<Retained<UTType>>;
#[deprecated = "Use contentType instead"]
#[unsafe(method(uniformTypeIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn uniformTypeIdentifier(&self) -> Option<Retained<NSString>>;
#[cfg(feature = "PhotosTypes")]
#[unsafe(method(playbackStyle))]
#[unsafe(method_family = none)]
pub unsafe fn playbackStyle(&self) -> PHAssetPlaybackStyle;
#[cfg(feature = "PHAdjustmentData")]
#[unsafe(method(adjustmentData))]
#[unsafe(method_family = none)]
pub unsafe fn adjustmentData(&self) -> Option<Retained<PHAdjustmentData>>;
#[cfg(feature = "objc2-app-kit")]
#[cfg(target_os = "macos")]
#[unsafe(method(displaySizeImage))]
#[unsafe(method_family = none)]
pub unsafe fn displaySizeImage(&self) -> Option<Retained<NSImage>>;
#[unsafe(method(fullSizeImageURL))]
#[unsafe(method_family = none)]
pub unsafe fn fullSizeImageURL(&self) -> Option<Retained<NSURL>>;
#[unsafe(method(fullSizeImageOrientation))]
#[unsafe(method_family = none)]
pub unsafe fn fullSizeImageOrientation(&self) -> c_int;
#[cfg(feature = "objc2-av-foundation")]
#[deprecated]
#[unsafe(method(avAsset))]
#[unsafe(method_family = none)]
pub unsafe fn avAsset(&self) -> Option<Retained<AVAsset>>;
#[cfg(feature = "objc2-av-foundation")]
#[unsafe(method(audiovisualAsset))]
#[unsafe(method_family = none)]
pub unsafe fn audiovisualAsset(&self) -> Option<Retained<AVAsset>>;
#[cfg(feature = "PHLivePhoto")]
#[unsafe(method(livePhoto))]
#[unsafe(method_family = none)]
pub unsafe fn livePhoto(&self) -> Option<Retained<PHLivePhoto>>;
);
}
impl PHContentEditingInput {
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>;
);
}