SKCloudServiceSetupViewControllerDelegate

Trait SKCloudServiceSetupViewControllerDelegate 

Source
pub unsafe trait SKCloudServiceSetupViewControllerDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn cloudServiceSetupViewControllerDidDismiss(
        &self,
        cloud_service_setup_view_controller: &SKCloudServiceSetupViewController,
    )
       where Self: Sized + Message { ... }
}
👎Deprecated: Use the musicSubscriptionOffer(isPresented:options:onLoadCompletion:) SwiftUI View Modifier from MusicKit
Available on crate feature SKCloudServiceSetupViewController only.
Expand description

Provided Methods§

Source

unsafe fn cloudServiceSetupViewControllerDidDismiss( &self, cloud_service_setup_view_controller: &SKCloudServiceSetupViewController, )
where Self: Sized + Message,

👎Deprecated: Use the musicSubscriptionOffer(isPresented:options:onLoadCompletion:) SwiftUI View Modifier from MusicKit
Available on crate feature objc2-app-kit and macOS only.

Sent when the view controller was dismissed.

Trait Implementations§

Source§

impl ProtocolType for dyn SKCloudServiceSetupViewControllerDelegate

Source§

const NAME: &'static str = "SKCloudServiceSetupViewControllerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn SKCloudServiceSetupViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> SKCloudServiceSetupViewControllerDelegate for ProtocolObject<T>

Implementors§