IVoiceHandler

Interface to handle Voice Button interaction.

MethodDescription

OnVoiceAction

Called when voice action is performed (on long pressing back button)

using JMRSDK.InputModule;
using UnityEngine;
public class InterfaceExample: MonoBehaviour, IVoiceHandler
{
 public void OnVoiceAction() {
  Debug.Log("OnVoiceAction");
 }
}

Last updated