private static void RegisterMode360CommandReceivedEvent()
        {
            _mode360CommandCallback = (clientName, requestId, isEnabled, _) =>
            {
                var command = new Mode360Command(isEnabled);
                command.SetResponseInformation(clientName, requestId);

                Mode360CommandReceived?.Invoke(null, new Mode360CommandReceivedEventArgs(command));
            };
            Native.SetMode360CommandReceivedCb(Handle, _mode360CommandCallback).
            ThrowIfError("Failed to init Mode360CommandReceived event.");
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="Mode360CommandReceivedEventArgs"/> class.
 /// </summary>
 /// <param name="command">The 360 mode command.</param>
 /// <exception cref="ArgumentNullException"><paramref name="command"/> is null.</exception>
 /// <since_tizen> 6 </since_tizen>
 internal Mode360CommandReceivedEventArgs(Mode360Command command)
 {
     Command = command ?? throw new ArgumentNullException(nameof(command));
 }