Message send by a Charger to request the application to show a message to the user, and with optionally a required action.

Implements

  • PixelMessage

Constructors

Properties

Constructors

Properties

cancel: boolean = false

Whether to display the Cancel button.

message: string = ""

Message to show to the user.

ok: boolean = false

Whether to display the OK button.

timeoutSec: number = 0

Timeout after which the charger won't listen for an answer.

type: number = ChargerMessageTypeValues.notifyUser

Type of the message.