# Print output for @column tags ?>
public
final
class
SensorPrivacyManager
extends Object
java.lang.Object | |
↳ | android.hardware.SensorPrivacyManager |
This class provides information about the microphone and camera toggles.
Nested classes | |
---|---|
class |
SensorPrivacyManager.Sensors
Individual sensors not listed in |
Public methods | |
---|---|
boolean
|
supportsSensorToggle(int sensor)
Checks if the given toggle is supported on this device |
Inherited methods | |
---|---|
public boolean supportsSensorToggle (int sensor)
Checks if the given toggle is supported on this device
Parameters | |
---|---|
sensor |
int : The sensor to check
Value is SensorPrivacyManager.Sensors.MICROPHONE , or SensorPrivacyManager.Sensors.CAMERA |
Returns | |
---|---|
boolean |
whether the toggle for the sensor is supported on this device. |