Class AndroidProximityProbe
Android proximity probe. Will report distance from phone to a nearby object. Readings from this sensor
will wake up the phone's processor and be delivered regardless of the phone's awake/standby status.
Inheritance
System.Object
AndroidProximityProbe
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: SensusAndroid.dll
Syntax
public class AndroidProximityProbe : ProximityProbe, INotifyPropertyChanged, IListeningProbe, IProbe
Constructors
AndroidProximityProbe()
Declaration
public AndroidProximityProbe()
Methods
InitializeAsync()
Declaration
protected override Task InitializeAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
StartListeningAsync()
Declaration
protected override Task StartListeningAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
StopListeningAsync()
Declaration
protected override Task StopListeningAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged