Functions
The following functions are available globally.
-
Attempts to convert an
Datainstance into an image object appropriate for the current platform. Used by theFetchImageTransactionto construct images from transaction data.Throws
A
DataTransactionErrorifdatacould not be converted into aPlatformImageType.Declaration
Swift
public func platformImage(fromData data: Data) throws -> PlatformImageTypeParameters
dataThe data to convert into an image.
Return Value
A
PlatformImageTypeinstance containing the image.
View on GitHub
Functions Reference