Breadcrumbs

signoAPI Android – STSignoSignerNotifier interface

The STSignoSignerNotifier interface contains methods that are called when certain events from the STSignoSigner class take place. This interface must be implemented by a class. The instance of this class must be set with the STSignoSigner.setSignoSignerNotifier() method.

Java
public interface STSignoSignerNotifier

Usage:

Java
public class STSignoSignerNotifierImpl implements STSignoSignerNotifier {
  public void notifyLicenceStatus(STLicenceError licenceError) {
    // add your code here...
  }
}

notifyLicenceStatus method

This method is called to share the result of the licence validation. An app can in this case ask the user to enter a licence key, for example.

Java
void notifyLicenceStatus(STLicenceError licenceError); 

Parameter

Description

STLicenceError licenceError

Instance of the STLicenceError class. See the licence error table in the STLicenceError class.

Return value

Description

-

-

Usage:

Java
void notifyLicenceStatus(STLicenceError licenceError) {
   if (licenceError != STLicenceError.NO_ERROR) {
      // software is not licensed, prompt dialog for entering a key
   }
}