pub unsafe trait MPNowPlayingSessionDelegate: NSObjectProtocol {
// Provided methods
unsafe fn nowPlayingSessionDidChangeActive(
&self,
now_playing_session: &MPNowPlayingSession,
)
where Self: Sized + Message { ... }
unsafe fn nowPlayingSessionDidChangeCanBecomeActive(
&self,
now_playing_session: &MPNowPlayingSession,
)
where Self: Sized + Message { ... }
}Available on crate feature
MPNowPlayingSession only.Expand description
Provided Methods§
Sourceunsafe fn nowPlayingSessionDidChangeActive(
&self,
now_playing_session: &MPNowPlayingSession,
)
unsafe fn nowPlayingSessionDidChangeActive( &self, now_playing_session: &MPNowPlayingSession, )
Tells the delegate that the session has changed its active status.
Sourceunsafe fn nowPlayingSessionDidChangeCanBecomeActive(
&self,
now_playing_session: &MPNowPlayingSession,
)
unsafe fn nowPlayingSessionDidChangeCanBecomeActive( &self, now_playing_session: &MPNowPlayingSession, )
Tells the delegate that the session has changed its can become active status.