Added in API level 31

Sensors


class Sensors
kotlin.Any
   ↳ android.hardware.SensorPrivacyManager.Sensors

Sensor constants which are used in SensorPrivacyManager

Summary

Constants
static Int

Constant for the camera

static Int

Constant for the microphone

Constants

CAMERA

Added in API level 31
static val CAMERA: Int

Constant for the camera

Value: 2

MICROPHONE

Added in API level 31
static val MICROPHONE: Int

Constant for the microphone

Value: 1