tetheringSettings property

String? tetheringSettings
getter/setter pair

Controls tethering settings.

Based on the value set, the user is partially or fully disallowed from using different forms of tethering. Possible string values are:

  • "TETHERING_SETTINGS_UNSPECIFIED" : Unspecified. Defaults to ALLOW_ALL_TETHERING unless tetheringConfigDisabled is set to true. If tetheringConfigDisabled is set to true, this is equivalent to DISALLOW_ALL_TETHERING.
  • "ALLOW_ALL_TETHERING" : Allows configuration and use of all forms of tethering. tetheringConfigDisabled is ignored.
  • "DISALLOW_WIFI_TETHERING" : Disallows the user from using Wi-Fi tethering. Supported on company owned devices running Android 13 and above. If the setting is not supported, ALLOW_ALL_TETHERING will be set. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13. tetheringConfigDisabled is ignored.
  • "DISALLOW_ALL_TETHERING" : Disallows all forms of tethering. Supported on fully managed devices and work profile on company-owned devices, on all supported android versions. The setting tetheringConfigDisabled is ignored.

Implementation

core.String? tetheringSettings;