EncCell

class EncCell : Loadable

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

See also

EncLayer

Constructors

Link copied to clipboard
fun EncCell(encDataSet: EncDataset)

Creates an ENC cell using an ENC dataset.

Link copied to clipboard
fun EncCell(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.

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.

Properties

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

The load status.

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.