start static method

void start(
  1. SmsListener listener
)

Enables the service of reading SMS messages until the SMS messages that meet the rules are obtained or the service times out (the timeout duration is 5 minutes).

Implementation

static void start(SmsListener listener) {
  _listener = listener;
  _c.invokeMethod('smsVerification');
}