onButtonDiscovered method

void onButtonDiscovered(
  1. String buttonAddress
)

called as a button is discovered (by bluetooth address) by the plugin (while scanning)

Implementation

void onButtonDiscovered(String buttonAddress) {}