XGameStreamingGetConnectionState
Gets the current connection state for specified device.Syntax
Parameters
client _In_Type: XGameStreamingClientId The client to request the connection state of.
Return value
Type: XGameStreamingConnectionStateRemarks
This API returns the XGameStreamingConnectionState of the specified client. This allows for a check to see if the device has disconnected since the game last checked. If the game is only trying to identify if ANY device is connected and streaming, consider using XGameStreamingIsStreaming. If the game needs to get notification when a streaming client connects and/or disconnects, consider using XGameStreamingRegisterConnectionStateChangedRequirements
Header: xgamestreaming.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
XGameStreamingIsStreamingXGameStreamingRegisterConnectionStateChanged
XGameStreamingGetClientCount
XGameStreamingGetClients
XGameStreaming
