共用方式為


ProximitySensor.CreateDisplayOnOffController 方法

定義

建立負責根據 ProximitySensorReading開啟或關閉顯示器的控制器。

public:
 virtual ProximitySensorDisplayOnOffController ^ CreateDisplayOnOffController() = CreateDisplayOnOffController;
ProximitySensorDisplayOnOffController CreateDisplayOnOffController();
public ProximitySensorDisplayOnOffController CreateDisplayOnOffController();
function createDisplayOnOffController()
Public Function CreateDisplayOnOffController () As ProximitySensorDisplayOnOffController

傳回

手機顯示器的控制器。

適用於