/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2021. *
* *
* Use subject to the terms of the Apache License 2.0 available at *
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
* between Ultraleap and you, your company or other organization. *
******************************************************************************/
namespace Leap
{
using System.Collections.Generic;
///
/// The list of FailedDevice objects contains an entry for every failed Leap Motion
/// hardware device connected to the client computer. FailedDevice objects report
/// the device pnpID string and reason for failure.
///
/// Get the list of FailedDevice objects from Controller.FailedDevices().
///
/// @since 3.0
///
public class FailedDeviceList : List
{
///
/// Constructs an empty list.
///
public FailedDeviceList() { }
///
/// Appends the contents of another FailedDeviceList to this one.
///
public FailedDeviceList Append(FailedDeviceList other)
{
AddRange(other);
return this;
}
///
/// Reports whether the list is empty.
///
public bool IsEmpty
{
get { return Count == 0; }
}
}
}