printInstructions method

  1. @override
Future<void> printInstructions()
override

abstract method that is called at the end of run() to give the implementing class a chance to print some instructions (or perform some other final setup) after the tap handler is hooked up

Implementation

@override
Future<void> printInstructions() async {
  await frame!
      .sendMessage(TxPlainText(msgCode: 0x0a, text: '3-Tap: take photo'));
}