- listener
- The listener on which the TriggerEventListener.OnTrigger(TriggerEvent) is delivered.It should be the same as the one used in SensorManager.RequestTriggerSensor(TriggerEventListener, Android.Hardware.Sensor)
- sensor
- The sensor for which the trigger request should be canceled. If null, it cancels receiving trigger for all sensors associated with the listener.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException when sensor is a trigger sensor.
Cancels receiving trigger events for a trigger sensor.
Note that a Trigger sensor will be auto disabled if TriggerEventListener.OnTrigger(TriggerEvent) has triggered. This method is provided in case the user wants to explicitly cancel the request to receive trigger events.