XGameStreamingConnectionState

Contains the connection states for a streaming client device.

Syntax

enum class XGameStreamingConnectionState  : uint32_t
{
    Disconnected = 0,
    Connected = 1
}

Constants

Constant Description
Disconnected The client device is currently disconnected.
Connected The client device is currently connected.

Remarks

A device can be in either a Connected or a Disconnected state.

The XGameStreamingClientChangedCallback is invoked whenever a streaming device connects or disconnects.

Upon registering via XGameStreamingRegisterConnectionStateChanged, the callback is invoked for any device that is already connected.

Requirements

Header: xgamestreaming.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameStreaming
XGameStreamingClientChangedCallback
XGameStreamingUnregisterConnectionStateChanged
XGameStreamingRegisterConnectionStateChanged