Share via


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

A vector of all available sessions.

Windows requirements

App capabilities
globalMediaControl

Applies to