/**@class android.hardware.SensorPrivacyManager @extends java.lang.Object This class provides access to the sensor privacy services; sensor privacy allows the user to disable access to all sensors on the device. This class provides methods to query the current state of sensor privacy as well as to register / unregister for notification when the sensor privacy state changes. @hide */ var SensorPrivacyManager = { /**Returns the single instance of the SensorPrivacyManager. */ getInstance : function( ) {}, /**Sets sensor privacy to the specified state. @param {Boolean} enable the state to which sensor privacy should be set. */ setSensorPrivacy : function( ) {}, /**Registers a new listener to receive notification when the state of sensor privacy changes. @param {Object {SensorPrivacyManager.OnSensorPrivacyChangedListener}} listener the OnSensorPrivacyChangedListener to be notified when the state of sensor privacy changes. */ addSensorPrivacyListener : function( ) {}, /**Unregisters the specified listener from receiving notifications when the state of sensor privacy changes. @param {Object {SensorPrivacyManager.OnSensorPrivacyChangedListener}} listener the OnSensorPrivacyChangedListener to be unregistered from notifications when sensor privacy changes. */ removeSensorPrivacyListener : function( ) {}, /**Returns whether sensor privacy is currently enabled. @return {Boolean} true if sensor privacy is currently enabled, false otherwise. */ isSensorPrivacyEnabled : function( ) {}, };