Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ciscoterminal senddata question

OK, I am trying to send an xml object to a phone associated with a user. I successfully create a provider and add call and terminal observers as required. I have created an array of terminals in java as follows.

Terminal [] terms;

then I populate the array using:

prov.getTerminals();

I tried defining the array as:

CiscoTerminal [] terms;

but ran into compilier error, incompataible types on the getTerinals(); line. Of course, when the array is defined as Terminal the sendData() method is not exposed. What stupid thing am I doing?

1 REPLY
New Member

Re: ciscoterminal senddata question

well duh, simple typecasting. I have been staring at this thing for too long.

129
Views
0
Helpful
1
Replies
CreatePlease login to create content