Skip to content

sud.getSystemSetting ​

JS
    Object sud.getSystemSetting()

Gets device system settings.

Return Value

  • Object: Returns the system settings.

Properties of the system settings information:

PropertyTypeDescription
locationEnabledbooleanWhether the system location switch is on
wifiEnabledbooleanWhether the system Wi-Fi switch is on
deviceOrientationstringDevice orientation; portrait: portrait mode, landscape: landscape mode