EncCell

An ENC cell object. A single ENC (Electronic Navigational Chart) data source.

Since

200.1.0

See also

EncLayer

Constructors

Link copied to clipboard
constructor(encDataSet: EncDataset)

Creates an ENC cell using an ENC dataset.

constructor(path: String)

Creates an ENC cell from the specified path. EncCell.EncCell(EncDataset) is the correct method of constructing an ENC cell delivered as part of an exchange set. When an ENC cell is constructed from the path directly, updates (*.001, *.002, etc.) that are part of the associated exchange set (if there is one) will not be applied.

Properties

Link copied to clipboard

The ENC dataset associated with the ENC cell, or null if the ENC cell was loaded from a path.

Link copied to clipboard
val path: String?

The path of the ENC cell. Throws if the ENC cell is already loaded. This can be used to reload the cell.

Inherited properties

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Inherited functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.