SAS logoSAS® Mobile Investigator API
    Preparing search index...

    Interface SmiAboutApi

    This section of the API relates to information about the application.

    interface SmiAboutApi {
        getAppVersion(): Promise<string>;
        getVersion(): string;
    }
    Index

    Methods

    • A method to return the application version. The string is read from device storage, and is returned as a promise.

      Returns Promise<string>

      The application version. For example: 10.8.0.123.

      window.sas.smi.about.getAppVersion().then((version) => {
      console.log(version);
      });
    • A method to return the major release version.

      Returns string

      A message to inform the user that the method is unavailable.