GlobalSystemMediaTransportControlsSessionManager.GetSessions Method

Definition

Gets all of the available sessions.

public:
 virtual IVectorView<GlobalSystemMediaTransportControlsSession ^> ^ GetSessions() = GetSessions;
IVectorView<GlobalSystemMediaTransportControlsSession> GetSessions();
public IReadOnlyList<GlobalSystemMediaTransportControlsSession> GetSessions();
function getSessions()
Public Function GetSessions () As IReadOnlyList(Of GlobalSystemMediaTransportControlsSession)

Returns

IVectorView<GlobalSystemMediaTransportControlsSession>

IReadOnlyList<GlobalSystemMediaTransportControlsSession>

A vector of all available sessions.

Windows 10 requirements

App capabilities
globalMediaControl

Applies to