cellularTwoGState property

String? cellularTwoGState
getter/setter pair

Controls whether cellular 2G setting can be toggled by the user or not. Possible string values are:

  • "CELLULAR_TWO_G_STATE_UNSPECIFIED" : Unspecified. Defaults to CELLULAR_TWO_G_USER_CHOICE.
  • "CELLULAR_TWO_G_USER_CHOICE" : The user is allowed to toggle cellular 2G on or off.
  • "CELLULAR_TWO_G_DISABLED" : Cellular 2G is disabled. The user is not allowed to toggle cellular 2G on via settings. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.

Implementation

core.String? cellularTwoGState;