ProximitySensor.CreateDisplayOnOffController ProximitySensor.CreateDisplayOnOffController ProximitySensor.CreateDisplayOnOffController ProximitySensor.CreateDisplayOnOffController ProximitySensor.CreateDisplayOnOffController Method

Definition

Creates a controller responsible for turning the display on or off based on the ProximitySensorReading.

public : ProximitySensorDisplayOnOffController CreateDisplayOnOffController()
ProximitySensorDisplayOnOffController CreateDisplayOnOffController() const;
public ProximitySensorDisplayOnOffController CreateDisplayOnOffController()
Public Function CreateDisplayOnOffController() As ProximitySensorDisplayOnOffController
var proximitySensorDisplayOnOffController = proximitySensor.createDisplayOnOffController();

Returns