Language

PrivacySensors Enum

Definition

Identifies a sensor controlled by sensor privacy settings.

public enum PrivacySensors
type PrivacySensors = 
Inheritance
PrivacySensors

Fields

Name Value Description
Microphone 1

Constant for the microphone

Android reference for android.hardware.SensorPrivacyManager.Sensors.MICROPHONE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Camera 2

Constant for the camera

Android reference for android.hardware.SensorPrivacyManager.Sensors.CAMERA.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The values identify the microphone and the camera.

Source.

Applies to