Quantcast
Channel: Plantronics Developer Connection : Popular Discussions - Forums & Support
Viewing all articles
Browse latest Browse all 2541

IMobilePresenceEvents in Spokes 2.8?

$
0
0

I am trying to set up basic connection to gather mobile caller ID when the mobile phone is ringing. I installed the Spokes 2.8 SDK and tried following instructions in the blog post http://developer.plantronics.com/community/pdcblog/blog/2012/01/27/spokes-mobile-caller-id.

 

He references four interfaces that should be in the Plantronics namespace. They're all fine except for IMobilePresenceEvents, which seems the key to the whole party. I looked up in the 2.7 documentation and found the reference to the interface there too - and no indications why it would be missing from the Interop assembly.

 

This is a compile-time problem - it predates whatever the device itself would trigger/support.

 

Here is a Program.cs. Interop.Plantronics is a registered reference. The first three members are just fine, but the m_mobileEvents has the red squigglys.

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Interop.Plantronics;
namespace ConsoleApplication3
{    class Program    {        IDevice m_device = null;        IATDCommand m_atdCommand = null;        IDeviceListener m_devListener = null;        IMobilePresenceEvents m_mobileEvents = null;        static void Main(string[] args)        {        }    }
}

 

I am sure I am missing something, and am grateful for the help!


Viewing all articles
Browse latest Browse all 2541

Trending Articles