internal ClientPlayingSessionStateCallback(JobID jobID, CMsgClientPlayingSessionState msg) { JobID = jobID; PlayingBlocked = msg.playing_blocked; PlayingApp = msg.playing_app; }
internal PlayingSessionStateCallback([NotNull] JobID jobID, [NotNull] CMsgClientPlayingSessionState msg) { if ((jobID == null) || (msg == null)) { throw new ArgumentNullException(nameof(jobID) + " || " + nameof(msg)); } JobID = jobID; PlayingBlocked = msg.playing_blocked; }
internal PlayingSessionStateCallback(JobID jobID, CMsgClientPlayingSessionState msg) { if (jobID == null) { throw new ArgumentNullException(nameof(jobID)); } ArgumentNullException.ThrowIfNull(msg); JobID = jobID; PlayingBlocked = msg.playing_blocked; }