/// <summary>
/// this class represents list of Voice Commands
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class VoiceCommandList
{
internal SafeCommandListHandle _handle;
/// <summary>
/// Public Constructor
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
public VoiceCommandList()
{
- SafeCommandListHandle handle = new SafeCommandListHandle();
+ SafeCommandListHandle handle;
ErrorCode error = VcCmdListCreate(out handle);
if (error != ErrorCode.None)
{
/// Gets command count of list.
/// -1 is returned in case of internal failure.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>
/// Command counts of the list.
/// </value>
/// Get current command from command list by index.
/// null will be returned in case of Empty List
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>
/// Current command from the command list.
/// </value>
/// <summary>
/// Adds command to command list.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// http://tizen.org/feature/microphone
/// </feature>
/// <param name="command">The command</param>
- /// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="NullReferenceException"> This will occur if the provide parameter is null. </exception>
/// <summary>
/// Removes command from command list.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// http://tizen.org/feature/microphone
/// </feature>
/// <param name="command">The command</param>
- /// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </exception>
/// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
/// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
/// <exception cref="NullReferenceException"> This will occur if the provide parameter is null. </exception>
/// <summary>
/// Retrieves all commands of command list.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <summary>
/// Moves index to first command.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <summary>
/// Moves index to last command.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <summary>
/// Moves index to next command.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>
/// <summary>
/// Moves index to previous command.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/recorder
/// </privilege>