Skip to main content

SKDownloaderExtension

Trait SKDownloaderExtension 

Source
pub unsafe trait SKDownloaderExtension: BAManagedDownloaderExtension { }
Available on crate feature objc2-background-assets and crate feature SKDownloaderExtension and neither tvOS nor watchOS only.
Expand description

An application extension that uses the system implementation to schedule Apple-hosted asset-pack downloads automatically.

You can optionally implement the inherited BAManagedDownloaderExtension requirements, but don’t implement any of the inherited BADownloaderExtension requirements. For more information, see <doc ://com.apple.documentation/documentation/backgroundassets>.

See also Apple’s documentation

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn SKDownloaderExtension

Source§

impl ProtocolType for dyn SKDownloaderExtension

Source§

const NAME: &'static str = "SKDownloaderExtension"

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> SKDownloaderExtension for ProtocolObject<T>

Implementors§