GlobalSystemMediaTransportControlsSessionManager.GetCurrentSession Method

Definition

Gets the current session. This is the session the system believes the user would most likely want to control.

public:
 virtual GlobalSystemMediaTransportControlsSession ^ GetCurrentSession() = GetCurrentSession;
GlobalSystemMediaTransportControlsSession GetCurrentSession();
public GlobalSystemMediaTransportControlsSession GetCurrentSession();
function getCurrentSession()
Public Function GetCurrentSession () As GlobalSystemMediaTransportControlsSession

Returns

A session object that represents this remote session.

Windows requirements

App capabilities
globalMediaControl

Applies to