API Documentation
Documentation for developing SailfishOS applicationsPolicyValue QML Type
Controls the value of a specific access policy. More...
Import Statement: | import Sailfish.Policy 1.0 |
Instantiates: | PolicyValue |
Properties
- key : string
- policyType : enumeration
- value : string
Detailed Description
Property Documentation
The policy type key which this value exposes.
Note that there is a one-to-one mapping between a supported policy type and a policy key.
The policy type which this value exposes.
Note that there is a one-to-one mapping between a supported policy type and a policy key.
The type can be one of:
Constant | Description |
---|---|
PolicyValue.Unknown | No policy type |
PolicyValue.CameraEnabled | Device camera |
PolicyValue.LocationSettingsEnabled | Location settings |
PolicyValue.OsUpdatesEnabled | System operating system update |
PolicyValue.SideLoadingSettingsEnabled | Side-loading of untrusted software |
PolicyValue.DeveloperModeSettingsEnabled | Developer mode settings |
PolicyValue.ApplicationInstallationEnabled | Installation of applications |
PolicyValue.WlanToggleEnabled | WLAN on/off |
PolicyValue.InternetSharingEnabled | Internet sharing (tethering) |
PolicyValue.DeviceResetEnabled | Reset device to factory defaults |
PolicyValue.ScreenshotEnabled | Take screenshots |
PolicyValue.MobileNetworkSettingsEnabled | Mobile network settings |
PolicyValue.UsbMassStorageEnabled | USB mass storage |
PolicyValue.UsbDeveloperModeEnabled | USB developer mode |
PolicyValue.UsbMtpEnabled | USB MTP |
PolicyValue.UsbHostEnabled | USB Host |
PolicyValue.UsbConnectionSharingEnabled | |
PolicyValue.UsbDiagnosticModeEnabled | USB diagnostic mode |
PolicyValue.UsbAdbEnabled | USB Android Debug Bridge (ADB) |
PolicyValue.DateTimeSettingsEnabled | System date and time |
PolicyValue.MicrophoneEnabled | System microphone |
PolicyValue.FlightModeToggleEnabled | Flight mode on/off |
PolicyValue.NetworkProxySettingsEnabled | Network proxy settings |
PolicyValue.NetworkDataCounterSettingsEnabled | Network data counter settings |
PolicyValue.CallStatisticsSettingsEnabled | Call statistics settings |
PolicyValue.CellularTechnologySettingsEnabled | Cellular radio technology selection settings |
PolicyValue.MobileDataAccessPointSettingsEnabled | Mobile data access point name (APN) settings |
PolicyValue.VpnConnectionSettingsEnabled | VPN connection status |
PolicyValue.VpnConfigurationSettingsEnabled | VPN configuration management (create/remove/modify) |
PolicyValue.AccountCreationEnabled | Account Creation allowance |
PolicyValue.BrowserEnabled | Web browsing |