/// <summary> /// Sends the result of each command. /// </summary> /// <param name="command">The command that return to client.</param> /// <param name="result">The <see cref="MediaControlResult"/> of <paramref name="command"/>.</param> /// <exception cref="ArgumentNullException"><paramref name="command"/> is null.</exception> /// <exception cref="InvalidOperationException"> /// The server is not running .<br/> /// -or-<br/> /// An internal error occurs. /// </exception> /// <since_tizen> 8 </since_tizen> public void Response(Command command, MediaControlResult result) { Response(command, (int)result, null); }
/// <summary> /// Sends the result of each command. /// </summary> /// <param name="command">The command that return to client.</param> /// <param name="result">The <see cref="MediaControlResult"/> of <paramref name="command"/>.</param> /// <param name="bundle">The extra data.</param> /// <exception cref="ArgumentNullException"><paramref name="command"/> is null.</exception> /// <exception cref="InvalidOperationException"> /// The server is not running .<br/> /// -or-<br/> /// An internal error occurs. /// </exception> /// <since_tizen> 8 </since_tizen> public void Response(Command command, MediaControlResult result, Bundle bundle) { Response(command, (int)result, bundle); }