ElectronicHorizonDataLoaderResult
public struct ElectronicHorizonDataLoaderResult
Electronic Horizon Data Loader result object, which contains either the loaded data or an error code.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Error code if the data could not be loaded, otherwise null.
Declaration
Swift
public var errorCode: ElectronicHorizonErrorCode? -
The loaded segment data, if available.
Declaration
Swift
public var segmentData: SegmentData? -
Creates a new instance.
Declaration
Swift
public init(errorCode: ElectronicHorizonErrorCode? = nil, segmentData: SegmentData? = nil)