1 6. SendMessageOptions interface
AlCalzone edited this page 2019-08-23 20:51:19 +02:00

The SendMessageOptions interface describes the options of the Driver.sendMessage and Driver.sendCommand methods:

{
	priority?: MessagePriority;
	supportCheck?: boolean;
}

It has two properties, both optional:

  • priority: MessagePriority - The priority of the message to send. If none is given, the defined default priority of the message class will be used.
  • supportCheck: boolean - If an exception should be thrown when the message to send is not supported. Setting this to false is useful if the capabilities haven't been determined yet.