pub unsafe trait UISceneDelegate: NSObjectProtocol + MainThreadOnly {
Show 13 methods
// Provided methods
fn scene_willConnectToSession_options(
&self,
scene: &UIScene,
session: &UISceneSession,
connection_options: &UISceneConnectionOptions,
)
where Self: Sized + Message { ... }
fn sceneDidDisconnect(&self, scene: &UIScene)
where Self: Sized + Message { ... }
fn sceneDidBecomeActive(&self, scene: &UIScene)
where Self: Sized + Message { ... }
fn sceneWillResignActive(&self, scene: &UIScene)
where Self: Sized + Message { ... }
fn sceneWillEnterForeground(&self, scene: &UIScene)
where Self: Sized + Message { ... }
fn sceneDidEnterBackground(&self, scene: &UIScene)
where Self: Sized + Message { ... }
fn scene_openURLContexts(
&self,
scene: &UIScene,
url_contexts: &NSSet<UIOpenURLContext>,
)
where Self: Sized + Message { ... }
fn stateRestorationActivityForScene(
&self,
scene: &UIScene,
) -> Option<Retained<NSUserActivity>>
where Self: Sized + Message { ... }
fn scene_restoreInteractionStateWithUserActivity(
&self,
scene: &UIScene,
state_restoration_activity: &NSUserActivity,
)
where Self: Sized + Message { ... }
fn scene_willContinueUserActivityWithType(
&self,
scene: &UIScene,
user_activity_type: &NSString,
)
where Self: Sized + Message { ... }
fn scene_continueUserActivity(
&self,
scene: &UIScene,
user_activity: &NSUserActivity,
)
where Self: Sized + Message { ... }
fn scene_didFailToContinueUserActivityWithType_error(
&self,
scene: &UIScene,
user_activity_type: &NSString,
error: &NSError,
)
where Self: Sized + Message { ... }
fn scene_didUpdateUserActivity(
&self,
scene: &UIScene,
user_activity: &NSUserActivity,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIScene only.Expand description
Provided Methods§
fn scene_willConnectToSession_options( &self, scene: &UIScene, session: &UISceneSession, connection_options: &UISceneConnectionOptions, )
Available on crate features
UIResponder and UISceneOptions and UISceneSession only.fn sceneDidDisconnect(&self, scene: &UIScene)
Available on crate feature
UIResponder only.fn sceneDidBecomeActive(&self, scene: &UIScene)
Available on crate feature
UIResponder only.fn sceneWillResignActive(&self, scene: &UIScene)
Available on crate feature
UIResponder only.fn sceneWillEnterForeground(&self, scene: &UIScene)
Available on crate feature
UIResponder only.fn sceneDidEnterBackground(&self, scene: &UIScene)
Available on crate feature
UIResponder only.fn scene_openURLContexts( &self, scene: &UIScene, url_contexts: &NSSet<UIOpenURLContext>, )
Available on crate features
UIOpenURLContext and UIResponder only.fn stateRestorationActivityForScene( &self, scene: &UIScene, ) -> Option<Retained<NSUserActivity>>
Available on crate feature
UIResponder only.fn scene_restoreInteractionStateWithUserActivity( &self, scene: &UIScene, state_restoration_activity: &NSUserActivity, )
Available on crate feature
UIResponder only.fn scene_willContinueUserActivityWithType( &self, scene: &UIScene, user_activity_type: &NSString, )
Available on crate feature
UIResponder only.fn scene_continueUserActivity( &self, scene: &UIScene, user_activity: &NSUserActivity, )
Available on crate feature
UIResponder only.fn scene_didFailToContinueUserActivityWithType_error( &self, scene: &UIScene, user_activity_type: &NSString, error: &NSError, )
Available on crate feature
UIResponder only.fn scene_didUpdateUserActivity( &self, scene: &UIScene, user_activity: &NSUserActivity, )
Available on crate feature
UIResponder only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UISceneDelegate
Source§impl ProtocolType for dyn UISceneDelegate
impl ProtocolType for dyn UISceneDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".