This section of the API relates to the environment that is running.

interface SmiEnvironmentApi {
    inAdmin: boolean;
    inAndroid: boolean;
    inApp: boolean;
    inIOS: boolean;
}

Properties

inAdmin: boolean

Returns true when running inside the SAS Mobile Investigator application.

inAndroid: boolean

Returns true when running SAS Mobile Investigator on an Android device.

inApp: boolean

Returns true when running inside SAS Mobile Investigator app.

inIOS: boolean

Returns true when running SAS Mobile Investigator on an iOS device.