mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Add SessionControllerConnected event
This commit is contained in:
@@ -46,6 +46,11 @@ namespace MediaBrowser.Controller.Session
|
||||
|
||||
event EventHandler<SessionEventArgs> SessionActivity;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when [session controller connected].
|
||||
/// </summary>
|
||||
event EventHandler<SessionEventArgs> SessionControllerConnected;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when [capabilities changed].
|
||||
/// </summary>
|
||||
@@ -78,6 +83,12 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="user">The user.</param>
|
||||
SessionInfo LogSessionActivity(string appName, string appVersion, string deviceId, string deviceName, string remoteEndPoint, Jellyfin.Data.Entities.User user);
|
||||
|
||||
/// <summary>
|
||||
/// Used to report that a session controller has connected.
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
void OnSessionControllerConnected(SessionInfo session);
|
||||
|
||||
void UpdateDeviceName(string sessionId, string reportedDeviceName);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user