IGameControllerBatteryInfo 인터페이스

정의

게임 컨트롤러(또는 헤드셋) 클래스가 실제 유형(게임 패드, 레이싱 휠, 플라이트 스틱 등)에 관계없이 현재 배터리 상태에 대한 정보를 쿼리할 수 있는 인터페이스입니다.

public interface class IGameControllerBatteryInfo
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Guid(3706504833, 14691, 19878, 149, 93, 85, 63, 59, 111, 97, 97)]
struct IGameControllerBatteryInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Guid(3706504833, 14691, 19878, 149, 93, 85, 63, 59, 111, 97, 97)]
public interface IGameControllerBatteryInfo
Public Interface IGameControllerBatteryInfo
파생
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)

메서드

TryGetBatteryReport()

게임 컨트롤러의 현재 배터리 상태에 대한 정보를 가져옵니다.

적용 대상