// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
namespace Microsoft.MixedReality.Toolkit.UI
{
public interface IInteractableHandler
{
void OnStateChange(InteractableStates state, Interactable source);
///
/// A voice command was called
///
void OnVoiceCommand(InteractableStates state, Interactable source, string command, int index = 0, int length = 1);
///
/// A click event happened
///
void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null);
}
}