OTHER_SENSORS property
final
Indicates permission to access generic sensor. Generic Sensor covers ambient-light-sensor, accelerometer, gyroscope, and magnetometer.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - COREWEBVIEW2_PERMISSION_KIND_OTHER_SENSORS)
Implementation
static final OTHER_SENSORS = PermissionResourceType._internalMultiPlatform(
'OTHER_SENSORS',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.windows:
return 5;
default:
break;
}
return null;
},
);