Edit

Share via


AisManager.AisMessageHandler Delegate

Definition

Delegate for AIS messages

public delegate void AisManager.AisMessageHandler(bool received, uint sourceMmsi, uint destinationMmsi, string text);
type AisManager.AisMessageHandler = delegate of bool * uint32 * uint32 * string -> unit
Public Delegate Sub AisManager.AisMessageHandler(received As Boolean, sourceMmsi As UInteger, destinationMmsi As UInteger, text As String)

Parameters

received
Boolean

True if the message was received from another ship, false if the message is generated internally (e.g. a proximity warning)

sourceMmsi
UInt32

Source MMSI

destinationMmsi
UInt32

Destination MMSI. May be 0 for a broadcast message

text
String

The text of the message.

Applies to