AssetStatus
public enum AssetStatus
Asset Service API’s Call completion status enumeration. Holds information about the call state of following methods:
createAssets(jsonAssets: [[String:Any]], completionHandler: @escaping (Asset?, AssetStatus)->Void)
fetchAssets(assetType: String, query: AssetQuery, completionHandler: @escaping (Asset?, AssetStatus)->Void)
-
Asset Service Call success
Declaration
Swift
case success
-
Asset Service Call failed.
Values:
- error:
Error
containing details as to why the call failed.
Declaration
Swift
case failed(error: Error)
- error:
-
Equatable conformance returns: a Boolean value indicating whether two values are equal.
Declaration
Swift
public static func == (lhs: AssetStatus, rhs: AssetStatus) -> Bool
-
A textual representation of this instance.
Declaration
Swift
public var description: String