Asset
@frozen
public enum Asset
Asset type, either an image or a video, with an associated source URL.
-
An image asset with the associated source URL. This will be a local file URL.
Declaration
Swift
case image(source: URL)
-
A video asset with the associated source URL. This will be a remote URL.
Declaration
Swift
case video(source: URL)