Class ElectronicHorizonDataLoaderResult

java.lang.Object
com.here.sdk.electronichorizon.ElectronicHorizonDataLoaderResult

public final class ElectronicHorizonDataLoaderResult extends Object

Represents the result of a data loading operation performed by ElectronicHorizonDataLoader. The result contains either the loaded segment 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.

  • Field Details

    • errorCode

      @Nullable public ElectronicHorizonDataLoaderErrorCode errorCode

      The error code if the data could not be loaded, otherwise null.

    • segmentData

      @Nullable public SegmentData segmentData

      The loaded segment data if it is available, otherwise null.

  • Constructor Details

    • ElectronicHorizonDataLoaderResult

      public ElectronicHorizonDataLoaderResult()

      Creates a new instance.

      Offline availability: This property is available online and offline.