noteKeyPress method

Future noteKeyPress(
  1. String topicName
)

Broadcast a key-press notification to topic subscribers

Implementation

Future noteKeyPress(String topicName) {
  var packet = _packetGenerator.generate(packet_types.Note, topicName);
  var data = packet.data as NotePacketData;
  data.what = 'kp';
  packet.data = data;
  return _send(packet);
}