Out of Range

Reports if there is no connection between device and base station (or USB dongle).

Data Point

   
Name in Jabra SDK TranslatedButtonInputEventArgs[ButtonId = OutOfRange]
Trigger No connection between device and base station (or USB dongle).
Event Subscription IDeviceService.TranslatedButtonInput
Value Range None. This event has no value.

Code Sample

The code sample demonstrates the event subscription. It shows how to parse the event to get back the data for the data point.

using System;
using JabraSDK;

namespace Jabra.TelemetryExample
{
    public class TelemetryPrinter
    {
        public TelemetryPrinter(IDeviceService deviceService)
        {
            deviceService.TranslatedButtonInput += OnTranslatedButtonInputEvent;
        }

        private void OnTranslatedButtonInputEvent(object sender, TranslatedButtonInputEventArgs e)
        {
            if (e.ButtonId == ButtonId.OutOfRange)
            {
                var isOutOfRange = e.Value ?? false;
                Console.WriteLine($"Device is out of range: {isOutOfRange}");
            }
        }
    }
}