XGameStreamingIsStreaming

게임이 현재 스트리밍되고 있는지 확인합니다.

구문

bool XGameStreamingIsStreaming();

반환 값

형식: bool

XGameStreamingIsStreaming은(는) 하나 이상의 스트리밍 클라이언트 장치가 연결된 Xbox에서 게임이 실행되는 경우 true를 반환합니다.

설명

XGameStreamingIsStreaming은(는) 콘솔이 원격 플레이를 통해 스트리밍하는 경우와 Xbox 게임 스트리밍을 통해 스트리밍하는 경우를 구분하지 않습니다.

연결 및/또는 연결 끊기 중인 개별 스트리밍 클라이언트 장치에 대한 알림을 받으려면 XGameStreamingRegisterConnectionStateChanged를 통해 콜백을 등록하는 것이 좋습니다.

 if (XGameStreamingIsStreaming())
 {
     // The game is currently streaming to at least one device
     // Enable any customizations that might be useful when running from the cloud
 }

요건

헤더: xgamestreaming.h

라이브러리: xgameruntime.lib

지원되는 플랫폼: Windows, Xbox One 패밀리 콘솔 및 Xbox Series 콘솔

참고 항목

XGameStreamingConnectionState
XGameStreamingUnregisterConnectionStateChanged
XGameStreamingRegisterConnectionStateChanged
XGameStreaming