SensorPrivacyManager.Sensors


public static class SensorPrivacyManager.Sensors
extends Object

java.lang.Object
   ↳ android.hardware.SensorPrivacyManager.Sensors


Sensor constants which are used in SensorPrivacyManager

Summary

Constants

int CAMERA

Constant for the camera

int MICROPHONE

Constant for the microphone

Inherited methods

Constants

CAMERA

Added in API level 31
public static final int CAMERA

Constant for the camera

Constant Value: 2 (0x00000002)

MICROPHONE

Added in API level 31
public static final int MICROPHONE

Constant for the microphone

Constant Value: 1 (0x00000001)