using System;
namespace UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics
{
///
/// An interface that allows for getting the haptic impulse channel(s) on a device.
///
///
public interface IXRHapticImpulseChannelGroup
{
///
/// The number of haptic channels on the device.
///
int channelCount { get; }
///
/// Gets the haptic channel on the device by index.
///
/// The haptic channel index.
/// Returns the haptic channel, or if the haptic channel does not exist.
IXRHapticImpulseChannel GetChannel(int channel = 0);
}
}