I would like to handle tap action events when user press an green or red handset icon in Jabra Speak 510. My app is written in C# and I use "GetRemoteMmiv2Focus" method to subscribe for the event. I supposed that if user press the icon it will fire an "RemoteMmiv2Input" event, but it doesn't happen.
My sample app code is as follow:
private IServiceFactory serviceFactory = new ServiceFactory();
DeviceService = serviceFactory.CreateDeviceService(AppId);
DeviceService.DeviceAdded += DeviceService_DeviceAdded;
DeviceService.RemoteMmiv2Input += DeviceService_RemoteMmiv2Input;
private void DeviceService_DeviceAdded(object sender, DeviceAddedEventArgs e)
{
JabraDevice = e.Device;
JabraDevice.GetRemoteMmiv2Focus(RemoteMmiType.MMI_TYPE_HOOK_ON, new List<RemoteMmiInput> { RemoteMmiInput.MMI_ACTION_TAP }, RemoteMmiPriority.MMI_PRIORITY_HIGH);
JabraDevice.GetRemoteMmiv2Focus(RemoteMmiType.MMI_TYPE_MUTE, new List<RemoteMmiInput> { RemoteMmiInput.MMI_ACTION_TAP }, RemoteMmiPriority.MMI_PRIORITY_HIGH);
}
private void DeviceService_RemoteMmiv2Input(object sender, RemoteMmiv2EventArgs e)
{
THIS EVENT IS NEVER FIRED! Why?
}
Any hints, what I'm doing wrong, would be appreciated.