private static void RegisterRepeatModeCommandReceivedEvent()
        {
            _repeatModeCommandCallback = (clientName, requestId, mode, _) =>
            {
                var command = new RepeatModeCommand(mode.ToPublic());
                command.SetResponseInformation(clientName, requestId);

                RepeatModeCommandReceived?.Invoke(null, new RepeatModeCommandReceivedEventArgs(command));
            };
            Native.SetRepeatModeCommandReceivedCb(Handle, _repeatModeCommandCallback).
            ThrowIfError("Failed to init RepeatModeCommandReceived event.");
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RepeatModeCommandReceivedEventArgs"/> class.
 /// </summary>
 /// <param name="command">The playback position command.</param>
 /// <exception cref="ArgumentNullException"><paramref name="command"/> is null.</exception>
 /// <since_tizen> 5 </since_tizen>
 public RepeatModeCommandReceivedEventArgs(RepeatModeCommand command)
 {
     Command = command ?? throw new ArgumentNullException(nameof(command));
 }