/usr/share/doc/libosgi-compendium-java/api/org/osgi/service/upnp/UPnPDevice.html is in libosgi-compendium-java-doc 5.0.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>UPnPDevice</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UPnPDevice";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/osgi/service/upnp/UPnPAction.html" title="interface in org.osgi.service.upnp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/osgi/service/upnp/UPnPEventListener.html" title="interface in org.osgi.service.upnp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/osgi/service/upnp/UPnPDevice.html" target="_top">Frames</a></li>
<li><a href="UPnPDevice.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.osgi.service.upnp</div>
<h2 title="Interface UPnPDevice" class="title">Interface UPnPDevice</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="strong">UPnPDevice</span></pre>
<div class="block">Represents a UPnP device.
For each UPnP root and embedded device, an object is registered with the
framework under the <code>UPnPDevice</code> interface.
<p>
The relationship between a root device and its embedded devices can be
deduced using the <code>UPnPDevice.CHILDREN_UDN</code> and
<code>UPnPDevice.PARENT_UDN</code> service registration properties.
<p>
The values of the UPnP property names are defined by the UPnP Forum.
<p>
All values of the UPnP properties are obtained from the device using the
device's default locale.
<p>
If an application wants to query for a set of localized property values, it
has to use the method <code>UPnPDevice.getDescriptions(String locale)</code>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#CHILDREN_UDN">CHILDREN_UDN</a></strong></code>
<div class="block">The property key that must be set for all devices containing other
embedded devices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#DEVICE_CATEGORY">DEVICE_CATEGORY</a></strong></code>
<div class="block">Constant for the value of the service property <code>DEVICE_CATEGORY</code>
used for all UPnP devices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#FRIENDLY_NAME">FRIENDLY_NAME</a></strong></code>
<div class="block">Mandatory property key for a short user friendly version of the device
name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#ID">ID</a></strong></code>
<div class="block">Property key for the Unique Device ID property.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MANUFACTURER">MANUFACTURER</a></strong></code>
<div class="block">Mandatory property key for the device manufacturer's property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MANUFACTURER_URL">MANUFACTURER_URL</a></strong></code>
<div class="block">Optional property key for a URL to the device manufacturers Web site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MATCH_GENERIC">MATCH_GENERIC</a></strong></code>
<div class="block">Constant for the UPnP device match scale, indicating a generic match for
the device.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MATCH_MANUFACTURER_MODEL">MATCH_MANUFACTURER_MODEL</a></strong></code>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device model.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MATCH_MANUFACTURER_MODEL_REVISION">MATCH_MANUFACTURER_MODEL_REVISION</a></strong></code>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device revision.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MATCH_MANUFACTURER_MODEL_REVISION_SERIAL">MATCH_MANUFACTURER_MODEL_REVISION_SERIAL</a></strong></code>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device revision and the serial number.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MATCH_TYPE">MATCH_TYPE</a></strong></code>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MODEL_DESCRIPTION">MODEL_DESCRIPTION</a></strong></code>
<div class="block">Optional (but recommended) property key for a <code>String</code> object with
a long description of the device for the end user.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MODEL_NAME">MODEL_NAME</a></strong></code>
<div class="block">Mandatory property key for the device model name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MODEL_NUMBER">MODEL_NUMBER</a></strong></code>
<div class="block">Optional (but recommended) property key for a <code>String</code> class typed
property holding the model number of the device.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#MODEL_URL">MODEL_URL</a></strong></code>
<div class="block">Optional property key for a <code>String</code> typed property holding a
string representing the URL to the Web site for this model.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#PARENT_UDN">PARENT_UDN</a></strong></code>
<div class="block">The property key that must be set for all embedded devices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#PRESENTATION_URL">PRESENTATION_URL</a></strong></code>
<div class="block">Optional (but recommended) property key for a <code>String</code> typed
property holding a string representing the URL to a device representation
Web page.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#SERIAL_NUMBER">SERIAL_NUMBER</a></strong></code>
<div class="block">Optional (but recommended) property key for a <code>String</code> typed
property holding the serial number of the device.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#TYPE">TYPE</a></strong></code>
<div class="block">Property key for the UPnP Device Type property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#UDN">UDN</a></strong></code>
<div class="block">Property key for the Unique Device Name (UDN) property.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#UPC">UPC</a></strong></code>
<div class="block">Optional property key for a <code>String</code> typed property holding the
Universal Product Code (UPC) of the device.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#UPNP_EXPORT">UPNP_EXPORT</a></strong></code>
<div class="block">The <code>UPnP.export</code> service property is a hint that marks a device to
be picked up and exported by the UPnP Service.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Dictionary</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#getDescriptions(java.lang.String)">getDescriptions</a></strong>(java.lang.String locale)</code>
<div class="block">Get a set of localized UPnP properties.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/osgi/service/upnp/UPnPIcon.html" title="interface in org.osgi.service.upnp">UPnPIcon</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#getIcons(java.lang.String)">getIcons</a></strong>(java.lang.String locale)</code>
<div class="block">Lists all icons for this device in a given locale.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/osgi/service/upnp/UPnPService.html" title="interface in org.osgi.service.upnp">UPnPService</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#getService(java.lang.String)">getService</a></strong>(java.lang.String serviceId)</code>
<div class="block">Locates a specific service by its service id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/osgi/service/upnp/UPnPService.html" title="interface in org.osgi.service.upnp">UPnPService</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/osgi/service/upnp/UPnPDevice.html#getServices()">getServices</a></strong>()</code>
<div class="block">Lists all services provided by this device.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="MATCH_GENERIC">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_GENERIC</h4>
<pre>static final int MATCH_GENERIC</pre>
<div class="block">Constant for the UPnP device match scale, indicating a generic match for
the device. Value is 1.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MATCH_GENERIC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MATCH_TYPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_TYPE</h4>
<pre>static final int MATCH_TYPE</pre>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device type. Value is 3.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MATCH_TYPE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MATCH_MANUFACTURER_MODEL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_MANUFACTURER_MODEL</h4>
<pre>static final int MATCH_MANUFACTURER_MODEL</pre>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device model. Value is 7.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MATCH_MANUFACTURER_MODEL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MATCH_MANUFACTURER_MODEL_REVISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_MANUFACTURER_MODEL_REVISION</h4>
<pre>static final int MATCH_MANUFACTURER_MODEL_REVISION</pre>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device revision. Value is 15.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MATCH_MANUFACTURER_MODEL_REVISION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MATCH_MANUFACTURER_MODEL_REVISION_SERIAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_MANUFACTURER_MODEL_REVISION_SERIAL</h4>
<pre>static final int MATCH_MANUFACTURER_MODEL_REVISION_SERIAL</pre>
<div class="block">Constant for the UPnP device match scale, indicating a match with the
device revision and the serial number. Value is 31.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MATCH_MANUFACTURER_MODEL_REVISION_SERIAL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEVICE_CATEGORY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEVICE_CATEGORY</h4>
<pre>static final java.lang.String DEVICE_CATEGORY</pre>
<div class="block">Constant for the value of the service property <code>DEVICE_CATEGORY</code>
used for all UPnP devices. Value is "UPnP".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd>"org.osgi.service.device.Constants.DEVICE_CATEGORY",
<a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.DEVICE_CATEGORY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="UPNP_EXPORT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPNP_EXPORT</h4>
<pre>static final java.lang.String UPNP_EXPORT</pre>
<div class="block">The <code>UPnP.export</code> service property is a hint that marks a device to
be picked up and exported by the UPnP Service. Imported devices do not
have this property set. The registered property requires no value.
<p>
The UPNP_EXPORT string is "UPnP.export".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.UPNP_EXPORT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="UDN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UDN</h4>
<pre>static final java.lang.String UDN</pre>
<div class="block">Property key for the Unique Device Name (UDN) property. It is the unique
identifier of an instance of a <code>UPnPDevice</code>. The value of the
property is a <code>String</code> object of the Device UDN. Value of the key
is "UPnP.device.UDN". This property must be set.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.UDN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ID</h4>
<pre>static final java.lang.String ID</pre>
<div class="block">Property key for the Unique Device ID property. This property is an alias
to <code>UPnPDevice.UDN</code>. It is merely provided for reasons of symmetry
with the <code>UPnPService.ID</code> property. The value of the property is a
<code>String</code> object of the Device UDN. The value of the key is
"UPnP.device.UDN".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.ID">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE</h4>
<pre>static final java.lang.String TYPE</pre>
<div class="block">Property key for the UPnP Device Type property. Some standard property
values are defined by the Universal Plug and Play Forum. The type string
also includes a version number as defined in the UPnP specification. This
property must be set.
<p>
For standard devices defined by a UPnP Forum working committee, this must
consist of the following components in the given order separated by
colons:
<ul>
<li><code>urn</code></li>
<li>schemas-upnp-org</li>
<li><code>device</code></li>
<li>a device type suffix</li>
<li>an integer device version</li>
</ul>
For non-standard devices specified by UPnP vendors following components
must be specified in the given order separated by colons:
<ul>
<li><code>urn</code></li>
<li>an ICANN domain name owned by the vendor</li>
<li><code>device</code></li>
<li>a device type suffix</li>
<li>an integer device version</li>
</ul>
<p>
To allow for backward compatibility the UPnP driver must automatically
generate additional Device Type property entries for smaller versions
than the current one. If for example a device announces its type as
version 3, then properties for versions 2 and 1 must be automatically
generated.
<p>
In the case of exporting a UPnPDevice, the highest available version must
be announced on the network.
<p>
Syntax Example: <code>urn:schemas-upnp-org:device:deviceType:v</code>
<p>
The value is "UPnP.device.type".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.TYPE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MANUFACTURER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MANUFACTURER</h4>
<pre>static final java.lang.String MANUFACTURER</pre>
<div class="block">Mandatory property key for the device manufacturer's property. The
property value holds a String representation of the device manufacturer's
name. Value is "UPnP.device.manufacturer".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MANUFACTURER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MODEL_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MODEL_NAME</h4>
<pre>static final java.lang.String MODEL_NAME</pre>
<div class="block">Mandatory property key for the device model name. The property value
holds a <code>String</code> object giving more information about the device
model. Value is "UPnP.device.modelName".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MODEL_NAME">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FRIENDLY_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FRIENDLY_NAME</h4>
<pre>static final java.lang.String FRIENDLY_NAME</pre>
<div class="block">Mandatory property key for a short user friendly version of the device
name. The property value holds a <code>String</code> object with the user
friendly name of the device. Value is "UPnP.device.friendlyName".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.FRIENDLY_NAME">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MANUFACTURER_URL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MANUFACTURER_URL</h4>
<pre>static final java.lang.String MANUFACTURER_URL</pre>
<div class="block">Optional property key for a URL to the device manufacturers Web site. The
value of the property is a <code>String</code> object representing the URL.
Value is "UPnP.device.manufacturerURL".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MANUFACTURER_URL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MODEL_DESCRIPTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MODEL_DESCRIPTION</h4>
<pre>static final java.lang.String MODEL_DESCRIPTION</pre>
<div class="block">Optional (but recommended) property key for a <code>String</code> object with
a long description of the device for the end user. The value is
"UPnP.device.modelDescription".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MODEL_DESCRIPTION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MODEL_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MODEL_NUMBER</h4>
<pre>static final java.lang.String MODEL_NUMBER</pre>
<div class="block">Optional (but recommended) property key for a <code>String</code> class typed
property holding the model number of the device. Value is
"UPnP.device.modelNumber".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MODEL_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MODEL_URL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MODEL_URL</h4>
<pre>static final java.lang.String MODEL_URL</pre>
<div class="block">Optional property key for a <code>String</code> typed property holding a
string representing the URL to the Web site for this model. Value is
"UPnP.device.modelURL".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.MODEL_URL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SERIAL_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SERIAL_NUMBER</h4>
<pre>static final java.lang.String SERIAL_NUMBER</pre>
<div class="block">Optional (but recommended) property key for a <code>String</code> typed
property holding the serial number of the device. Value is
"UPnP.device.serialNumber".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.SERIAL_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="UPC">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPC</h4>
<pre>static final java.lang.String UPC</pre>
<div class="block">Optional property key for a <code>String</code> typed property holding the
Universal Product Code (UPC) of the device. Value is "UPnP.device.UPC".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.UPC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PRESENTATION_URL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PRESENTATION_URL</h4>
<pre>static final java.lang.String PRESENTATION_URL</pre>
<div class="block">Optional (but recommended) property key for a <code>String</code> typed
property holding a string representing the URL to a device representation
Web page. Value is "UPnP.presentationURL".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.PRESENTATION_URL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PARENT_UDN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PARENT_UDN</h4>
<pre>static final java.lang.String PARENT_UDN</pre>
<div class="block">The property key that must be set for all embedded devices. It contains
the UDN of the parent device. The property is not set for root devices.
The value is "UPnP.device.parentUDN".</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.PARENT_UDN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CHILDREN_UDN">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CHILDREN_UDN</h4>
<pre>static final java.lang.String CHILDREN_UDN</pre>
<div class="block">The property key that must be set for all devices containing other
embedded devices.
<p>
The value is an array of UDNs for each of the device's children (
<code>String[]</code>). The array contains UDNs for the immediate descendants
only.
</p>
<p>
If an embedded device in turn contains embedded devices, the latter are
not included in the array.
</p>
The UPnP Specification does not encourage more than two levels of
nesting.
<p>
The property is not set if the device does not contain embedded devices.
<p>
The property is of type <code>String[]</code>. Value is
"UPnP.device.childrenUDN"</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.osgi.service.upnp.UPnPDevice.CHILDREN_UDN">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getService(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getService</h4>
<pre><a href="../../../../org/osgi/service/upnp/UPnPService.html" title="interface in org.osgi.service.upnp">UPnPService</a> getService(java.lang.String serviceId)</pre>
<div class="block">Locates a specific service by its service id.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>serviceId</code> - The service id</dd>
<dt><span class="strong">Returns:</span></dt><dd>The requested service or null if not found.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the UPnP device has been removed from
the network.</dd></dl>
</li>
</ul>
<a name="getServices()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServices</h4>
<pre><a href="../../../../org/osgi/service/upnp/UPnPService.html" title="interface in org.osgi.service.upnp">UPnPService</a>[] getServices()</pre>
<div class="block">Lists all services provided by this device.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Array of services or <code>null</code> if no services are available.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the UPnP device has been removed from
the network.</dd></dl>
</li>
</ul>
<a name="getIcons(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIcons</h4>
<pre><a href="../../../../org/osgi/service/upnp/UPnPIcon.html" title="interface in org.osgi.service.upnp">UPnPIcon</a>[] getIcons(java.lang.String locale)</pre>
<div class="block">Lists all icons for this device in a given locale.
The UPnP specification allows a device to present different icons based
on the client's locale.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>locale</code> - A language tag as defined by RFC 1766 and maintained by ISO
639. Examples include "<code>de</code>", "<code>en</code>" or "
<code>en-US</code>". The default locale of the device is specified by
passing a <code>null</code> argument.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Array of icons or null if no icons are available.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the UPnP device has been removed from
the network.</dd></dl>
</li>
</ul>
<a name="getDescriptions(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getDescriptions</h4>
<pre>java.util.Dictionary getDescriptions(java.lang.String locale)</pre>
<div class="block">Get a set of localized UPnP properties.
The UPnP specification allows a device to present different device
properties based on the client's locale. The properties used to register
the UPnPDevice service in the OSGi registry are based on the device's
default locale. To obtain a localized set of the properties, an
application can use this method.
<p>
Not all properties might be available in all locales. This method does
<b>not </b> substitute missing properties with their default locale
versions.
<p>
This method must continue to return the properties after the UPnP device
has been removed from the network.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>locale</code> - A language tag as defined by RFC 1766 and maintained by ISO
639. Examples include "<code>de</code>", "<code>en</code>" or "
<code>en-US</code>". The default locale of the device is specified by
passing a <code>null</code> argument.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Dictionary mapping property name Strings to property value
Strings</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/osgi/service/upnp/UPnPAction.html" title="interface in org.osgi.service.upnp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/osgi/service/upnp/UPnPEventListener.html" title="interface in org.osgi.service.upnp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/osgi/service/upnp/UPnPDevice.html" target="_top">Frames</a></li>
<li><a href="UPnPDevice.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|