Skip to main content

UICloudSharingControllerDelegate

Trait UICloudSharingControllerDelegate 

Source
pub unsafe trait UICloudSharingControllerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn cloudSharingController_failedToSaveShareWithError(
        &self,
        csc: &UICloudSharingController,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
    fn itemTitleForCloudSharingController(
        &self,
        csc: &UICloudSharingController,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    fn itemThumbnailDataForCloudSharingController(
        &self,
        csc: &UICloudSharingController,
    ) -> Option<Retained<NSData>>
       where Self: Sized + Message { ... }
    fn itemTypeForCloudSharingController(
        &self,
        csc: &UICloudSharingController,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    fn cloudSharingControllerDidSaveShare(&self, csc: &UICloudSharingController)
       where Self: Sized + Message { ... }
    fn cloudSharingControllerDidStopSharing(
        &self,
        csc: &UICloudSharingController,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UICloudSharingController only.
Expand description

Provided Methods§

Source

fn cloudSharingController_failedToSaveShareWithError( &self, csc: &UICloudSharingController, error: &NSError, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn itemTitleForCloudSharingController( &self, csc: &UICloudSharingController, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn itemThumbnailDataForCloudSharingController( &self, csc: &UICloudSharingController, ) -> Option<Retained<NSData>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn itemTypeForCloudSharingController( &self, csc: &UICloudSharingController, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn cloudSharingControllerDidSaveShare(&self, csc: &UICloudSharingController)
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn cloudSharingControllerDidStopSharing(&self, csc: &UICloudSharingController)
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UICloudSharingControllerDelegate

Source§

impl ProtocolType for dyn UICloudSharingControllerDelegate

Source§

const NAME: &'static str = "UICloudSharingControllerDelegate"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UICloudSharingControllerDelegate for ProtocolObject<T>

Implementors§