CardAssetContent
public struct CardAssetContent
The object that contains the content of the asset.
Since
1.0.0-
The MIME type of this resource—PNG, SVG, or PDF.
Declaration
Swift
public let mimeType: CardMimeType
-
Resource bytes encoded in Base64 format.
Declaration
Swift
public let encodedData: String
-
Width of the resource (if any). Required for PNG images.
Declaration
Swift
public let width: Int
-
Height of the resource (if any). Required for PNG images.
Declaration
Swift
public let height: Int