Displaying Error Messages

Sometimes you'll want to display a message overlaid on top of the screen for debugging or troubleshooting purposes. This is not aesthetic so do not use this as a regular course of developing your app.

window.onloadTelemetryTV = function (ttv) {
  ttv.message('I am a debug message');
  ttv.message('Attention, please!', 'warn');
message(text, level)Sends an overlaid text message to the top part of the screen. The text (string) is the text to display and the level (optional: 'log' | 'info' | 'warn' | 'error') of the message.null