MiracastReceiverGameControllerDevice 類別

定義

代表與 Miracast 搭配使用的 Game Controller 輸入裝置,例如遊戲台、搖桿或方向盤。

public ref class MiracastReceiverGameControllerDevice sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MiracastReceiverGameControllerDevice final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MiracastReceiverGameControllerDevice
Public NotInheritable Class MiracastReceiverGameControllerDevice
繼承
Object Platform::Object IInspectable MiracastReceiverGameControllerDevice
屬性

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

屬性

IsRequestedByTransmitter

指出 Miracast 傳輸器是否願意接收來自遊戲控制器裝置的輸入。

IsTransmittingInput

指出 Miracast 接收者目前是否正在將輸入從遊戲控制器裝置傳輸至 Miracast 傳輸器。

Mode

指定傳輸至 Miracast 傳輸器時,遊戲控制器輸入的使用方式。 遊戲控制器輸入可以依原樣傳輸,也可以對應至滑鼠和鍵盤輸入。

TransmitInput

控制 Miracast 接收者是否提供將遊戲控制器輸入傳送至 Miracast 傳輸器。

事件

Changed

當 MiracastReceiverGameControllerDevice 上的任何屬性變更時,就會引發此事件。

適用於