AISPayload

data class AISPayload(val vesselMMSI: Int, val timestamp: Instant, val latitude: Double? = null, val longitude: Double? = null, val courseOverGroundDegrees: Double? = null, val speedOverGroundKnots: Double? = null, val headingDegrees: Double? = null, val navigationalStatus: AISNavigationStatus? = null, val imoNumber: Long? = null, val vesselName: String? = null, val callsign: String? = null, val shipType: AISShipType? = null, val dimensionToBow: Int? = null, val dimensionToStern: Int? = null, val dimensionToPort: Int? = null, val dimensionToStarboard: Int? = null, val draughtMeters: Double? = null, val destination: String? = null, val eta: Instant? = null, val positionAccuracy: Double? = null, val rateOfTurn: Double? = null, val isEquippedWithRAIM: Boolean? = null, val positioningDevice: Int? = null, val dataTerminalReady: Int? = null, val vendorId: String? = null) : Comparable<AISPayload>

Decoded AIS message data.

Position data is optional: AIS messages can carry static vessel information without coordinates.

Constructors

Link copied to clipboard
constructor(vesselMMSI: Int, timestamp: Instant, latitude: Double? = null, longitude: Double? = null, courseOverGroundDegrees: Double? = null, speedOverGroundKnots: Double? = null, headingDegrees: Double? = null, navigationalStatus: AISNavigationStatus? = null, imoNumber: Long? = null, vesselName: String? = null, callsign: String? = null, shipType: AISShipType? = null, dimensionToBow: Int? = null, dimensionToStern: Int? = null, dimensionToPort: Int? = null, dimensionToStarboard: Int? = null, draughtMeters: Double? = null, destination: String? = null, eta: Instant? = null, positionAccuracy: Double? = null, rateOfTurn: Double? = null, isEquippedWithRAIM: Boolean? = null, positioningDevice: Int? = null, dataTerminalReady: Int? = null, vendorId: String? = null)

Types

Link copied to clipboard
object Companion

Static factory for AISPayload.

Properties

Link copied to clipboard

callsign of the vessel.

Link copied to clipboard

course over ground, expressed in degrees.

Link copied to clipboard

course over ground, expressed in radians.

Link copied to clipboard

AIS data terminal ready flag.

Link copied to clipboard

destination manually entered in AIS.

Link copied to clipboard

distance from AIS antenna to the bow, in meters.

Link copied to clipboard

distance from AIS antenna to port, in meters.

Link copied to clipboard

distance from AIS antenna to starboard, in meters.

Link copied to clipboard

distance from AIS antenna to the stern, in meters.

Link copied to clipboard

current draught, in meters.

Link copied to clipboard
val eta: Instant?

estimated time of arrival.

Link copied to clipboard

whether both latitude and longitude are available.

Link copied to clipboard

vessel heading, expressed in degrees.

Link copied to clipboard

vessel heading, expressed in radians.

Link copied to clipboard

IMO number of the vessel.

Link copied to clipboard

whether AIS reports receiver autonomous integrity monitoring.

Link copied to clipboard

latitude of the vessel, when available.

Link copied to clipboard

longitude of the vessel, when available.

Link copied to clipboard

AIS navigational status.

Link copied to clipboard

raw AIS position accuracy flag.

Link copied to clipboard

AIS positioning device code.

Link copied to clipboard

rate of turn, expressed according to the AIS library conversion.

Link copied to clipboard

AIS ship type.

Link copied to clipboard

speed over ground, expressed in knots.

Link copied to clipboard

speed over ground, expressed in meters per second.

Link copied to clipboard

the timestamp related to the receipt or content of the message.

Link copied to clipboard

vendor identifier from AIS static data.

Link copied to clipboard

AIS MMSI.

Link copied to clipboard

name of the vessel.

Functions

Link copied to clipboard
open operator override fun compareTo(other: AISPayload): Int