UICloudSharingControllerDelegate

Trait UICloudSharingControllerDelegate 

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

Provided Methods§

Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.

Trait Implementations§

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
Source§

impl<T> ImplementedBy<T> for dyn UICloudSharingControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> UICloudSharingControllerDelegate for ProtocolObject<T>

Implementors§