map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface WellknownEnvKeys

    Lists well known environment property names and their types.

    interface WellknownEnvKeys {
        android: number;
        "csp-restrictions": boolean;
        ff: number;
        ie: number;
        ipad: boolean;
        mobile: boolean;
        safari: number;
        touch: boolean;
        webassembly: boolean;
        webgl: boolean;
        "webgl-performance-caveats": boolean;
    }
    Index

    Properties

    android: number

    Detection if the client is an Android device.

    "csp-restrictions": boolean

    True if content security policy settings prevent eval() etc.

    ff: number

    Detection if the client is FireFox.

    ie: number

    Detection if the client is the Internet Explorer.

    ipad: boolean

    Whether the client is an ipad.

    mobile: boolean

    Detection if the client is a mobile device.

    safari: number

    Detection if the client is Safari.

    touch: boolean

    Detection if the client device is touch enabled.

    webassembly: boolean

    True if WebAssembly is enabled.

    webgl: boolean

    True if the browser supports WebGL 2, like required for the esri js api.

    "webgl-performance-caveats": boolean

    True if WebGL 2 is only supported with degraded performance, e.g. due to software rendering. See flag failIfMajorPerformanceCaveat for https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext