//! This file has been automatically generated by `objc2`'s `header-translator`. //! DO NOT EDIT use objc2::__framework_prelude::*; use objc2_foundation::*; use crate::*; extern_class!( #[derive(Debug, PartialEq, Eq, Hash)] pub struct UIWindowSceneActivationConfiguration; unsafe impl ClassType for UIWindowSceneActivationConfiguration { type Super = NSObject; type Mutability = InteriorMutable; } ); unsafe impl NSObjectProtocol for UIWindowSceneActivationConfiguration {} extern_methods!( unsafe impl UIWindowSceneActivationConfiguration { #[method_id(@__retain_semantics Other userActivity)] pub unsafe fn userActivity(&self) -> Retained; #[cfg(all( feature = "UISceneOptions", feature = "UIWindowSceneActivationRequestOptions" ))] #[method_id(@__retain_semantics Other options)] pub unsafe fn options( &self, mtm: MainThreadMarker, ) -> Option>; #[cfg(all( feature = "UISceneOptions", feature = "UIWindowSceneActivationRequestOptions" ))] #[method(setOptions:)] pub unsafe fn setOptions(&self, options: Option<&UIWindowSceneActivationRequestOptions>); #[cfg(feature = "UITargetedPreview")] #[method_id(@__retain_semantics Other preview)] pub unsafe fn preview(&self, mtm: MainThreadMarker) -> Option>; #[cfg(feature = "UITargetedPreview")] #[method(setPreview:)] pub unsafe fn setPreview(&self, preview: Option<&UITargetedPreview>); #[method_id(@__retain_semantics Init initWithUserActivity:)] pub unsafe fn initWithUserActivity( this: Allocated, user_activity: &NSUserActivity, ) -> Retained; #[method_id(@__retain_semantics Init init)] pub unsafe fn init(this: Allocated) -> Retained; #[method_id(@__retain_semantics New new)] pub unsafe fn new() -> Retained; } );