亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? servicerecord.java

?? java se平臺藍牙開發的插件 ,包括源碼 根據readme 生成包很多東西可以自己DIY很實用
?? JAVA
字號:
/* Copyright 2004 Intel Corporation This file is part of Blue Cove. Blue Cove is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. Blue Cove is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Blue Cove; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package javax.bluetooth;import java.io.IOException;public interface ServiceRecord {	public static final int ServiceRecordHandle = 0x0000;	public static final int ServiceClassIDList = 0x0001;	public static final int ServiceRecordState = 0x0002;	public static final int ServiceID = 0x0003;	public static final int ProtocolDescriptorList = 0x0004;	public static final int BrowseGroupList = 0x0005;	public static final int LanguageBasedAttributeIDList = 0x0006;	public static final int ServiceInfoTimeToLive = 0x0007;	public static final int ServiceAvailability = 0x0008;	public static final int BluetoothProfileDescriptorList = 0x0009;	public static final int DocumentationURL = 0x000A;	public static final int ClientExecutableURL = 0x000B;	public static final int IconURL = 0x000C;	public static final int VersionNumberList = 0x0200;	public static final int ServiceDatabaseState = 0x0201;	public static final int ServiceName = 0x0000;	public static final int ServiceDescription = 0x0001;	public static final int ProviderName = 0x0002;	/*	 * Authentication and encryption are not needed on a connection to this	 * service. Used with getConnectionURL() method. NOAUTHENTICATE_NOENCRYPT is	 * set to the constant value 0x00 (0).	 * 	 * See Also: getConnectionURL(int, boolean)	 */	public static final int NOAUTHENTICATE_NOENCRYPT = 0;	/*	 * Authentication is required for connections to this service, but not	 * encryption. It is OK for encryption to be either on or off for the	 * connection. Used with getConnectionURL() method. AUTHENTICATE_NOENCRYPT	 * is set to the constant value 0x01 (1).	 * 	 * See Also: getConnectionURL(int, boolean)	 */	public static final int AUTHENTICATE_NOENCRYPT = 1;	/*	 * Authentication and encryption are required for connections to this	 * service. Used with getConnectionURL() method. AUTHENTICATE_ENCRYPT is set	 * to the constant value 0x02 (2).	 */	public static final int AUTHENTICATE_ENCRYPT = 2;	/*	 * Returns the value of the service attribute ID provided it is present in	 * the service record, otherwise this method returns null. Parameters:	 * attrID - the attribute whose value is to be returned Returns: the value	 * of the attribute ID if present in the service record, otherwise null	 * Throws: IllegalArgumentException - if attrID is negative or greater than	 * or equal to 2^16	 */	public DataElement getAttributeValue(int attrID);	/*	 * Returns the remote Bluetooth device that populated the service record	 * with attribute values. It is important to note that the Bluetooth device	 * that provided the value might not be reachable anymore, since it can	 * move, turn off, or change its security mode denying all further	 * transactions. Returns: the remote Bluetooth device that populated the	 * service record, or null if the local device populated this ServiceRecord	 */	public RemoteDevice getHostDevice();	/*	 * Returns the service attribute IDs whose value could be retrieved by a	 * call to getAttributeValue(). The list of attributes being returned is not	 * sorted and includes default attributes. Returns: an array of service	 * attribute IDs that are in this object and have values for them; if there	 * are no attribute IDs that have values, this method will return an array	 * of length zero. See Also: getAttributeValue(int)	 */	public int[] getAttributeIDs();	/*	 * Retrieves the values by contacting the remote Bluetooth device for a set	 * of service attribute IDs of a service that is available on a Bluetooth	 * device. (This involves going over the air and contacting the remote	 * device for the attribute values.) The system might impose a limit on the	 * number of service attribute ID values one can request at a time.	 * Applications can obtain the value of this limit as a String by calling	 * LocalDevice.getProperty("bluetooth.sd.attr.retrievable.max"). The method	 * is blocking and will return when the results of the request are	 * available. Attribute IDs whose values could be obtained are added to this	 * service record. If there exist attribute IDs for which values are	 * retrieved this will cause the old values to be overwritten. If the remote	 * device cannot be reached, an IOException will be thrown. Parameters:	 * attrIDs - the list of service attributes IDs whose value are to be	 * retrieved; the number of attributes cannot exceed the property	 * bluetooth.sd.attr.retrievable.max; the attributes in the request must be	 * legal, i.e. their values are in the range of [0, 2^16-1]. The input	 * attribute IDs can include attribute IDs from the default attribute set	 * too. Returns: true if the request was successful in retrieving values for	 * some or all of the attribute IDs; false if it was unsuccessful in	 * retrieving any values Throws: java.io.IOException - if the local device	 * is unable to connect to the remote Bluetooth device that was the source	 * of this ServiceRecord; if this ServiceRecord was deleted from the SDDB of	 * the remote device IllegalArgumentException - if the size of attrIDs	 * exceeds the system specified limit as defined by	 * bluetooth.sd.attr.retrievable.max; if the attrIDs array length is zero;	 * if any of their values are not in the range of [0, 2^16-1]; if attrIDs	 * has duplicate values NullPointerException - if attrIDs is null	 * RuntimeException - if this ServiceRecord describes a service on the local	 * device rather than a service on a remote device	 */	public boolean populateRecord(int[] attrIDs) throws IOException;	/*	 * Returns a String including optional parameters that can be used by a	 * client to connect to the service described by this ServiceRecord. The	 * return value can be used as the first argument to Connector.open(). In	 * the case of a Serial Port service record, this string might look like	 * "btspp://0050CD00321B:3;authenticate=true;encrypt=false;master=true",	 * where "0050CD00321B" is the Bluetooth address of the device that provided	 * this ServiceRecord, "3" is the RFCOMM server channel mentioned in this	 * ServiceRecord, and there are three optional parameters related to	 * security and master/slave roles. If this method is called on a	 * ServiceRecord returned from LocalDevice.getRecord(), it will return the	 * connection string that a remote device will use to connect to this	 * service.	 * 	 * Parameters: requiredSecurity - determines whether authentication or	 * encryption are required for a connection mustBeMaster - true indicates	 * that this device must play the role of master in connections to this	 * service; false indicates that the local device is willing to be either	 * the master or the slave Returns: a string that can be used to connect to	 * the service or null if the ProtocolDescriptorList in this ServiceRecord	 * is not formatted according to the Bluetooth specification Throws:	 * IllegalArgumentException - if requiredSecurity is not one of the	 * constants NOAUTHENTICATE_NOENCRYPT, AUTHENTICATE_NOENCRYPT, or	 * AUTHENTICATE_ENCRYPT See Also: NOAUTHENTICATE_NOENCRYPT,	 * AUTHENTICATE_NOENCRYPT, AUTHENTICATE_ENCRYPT	 */	public String getConnectionURL(int requiredSecurity, boolean mustBeMaster);	/*	 * Used by a server application to indicate the major service class bits	 * that should be activated in the server's DeviceClass when this	 * ServiceRecord is added to the SDDB. When client devices do device	 * discovery, the server's DeviceClass is provided as one of the arguments	 * of the deviceDiscovered method of the DiscoveryListener interface. Client	 * devices can consult the DeviceClass of the server device to get a general	 * idea of the kind of device this is (e.g., phone, PDA, or PC) and the	 * major service classes it offers (e.g., rendering, telephony, or	 * information). A server application should use the setDeviceServiceClasses	 * method to describe its service in terms of the major service classes.	 * This allows clients to obtain a DeviceClass for the server that	 * accurately describes all of the services being offered. When	 * acceptAndOpen() is invoked for the first time on the notifier associated	 * with this ServiceRecord, the classes argument from the	 * setDeviceServiceClasses method is OR'ed with the current setting of the	 * major service class bits of the local device. The OR operation	 * potentially activates additional bits. These bits may be retrieved by	 * calling getDeviceClass() on the LocalDevice object. Likewise, a call to	 * LocalDevice.updateRecord() will cause the major service class bits to be	 * OR'ed with the current settings and updated.	 * 	 * The documentation for DeviceClass gives examples of the integers that	 * describe each of the major service classes and provides a URL for the	 * complete list. These integers can be used individually or OR'ed together	 * to describe the appropriate value for classes.	 * 	 * Later, when this ServiceRecord is removed from the SDDB, the	 * implementation will automatically deactivate the device bits that were	 * activated as a result of the call to setDeviceServiceClasses. The only	 * exception to this occurs if there is another ServiceRecord that is in the	 * SDDB and setDeviceServiceClasses has been sent to that other	 * ServiceRecord to request that some of the same bits be activated.	 * 	 * Parameters: classes - an integer whose binary representation indicates	 * the major service class bits that should be activated Throws:	 * IllegalArgumentException - if classes is not an OR of one or more of the	 * major service class integers in the Bluetooth Assigned Numbers document.	 * While Limited Discoverable Mode is included in this list of major service	 * classes, its bit is activated by placing the device in Limited	 * Discoverable Mode (see the GAP specification), so if bit 13 is set this	 * exception will be thrown. RuntimeExceptin - if the ServiceRecord	 * receiving the message was obtained from a remote device	 */	/*	 * public void setDeviceServiceClasses(int classes) { }	 */	/*	 * Modifies this ServiceRecord to contain the service attribute defined by	 * the attribute-value pair (attrID, attrValue). If the attrID does not	 * exist in the ServiceRecord, this attribute-value pair is added to this	 * ServiceRecord object. If the attrID is already in this ServiceRecord, the	 * value of the attribute is changed to attrValue. If attrValue is null, the	 * attribute with the attribute ID of attrID is removed from this	 * ServiceRecord object. If attrValue is null and attrID does not exist in	 * this object, this method will return false. This method makes no	 * modifications to a service record in the SDDB. In order for any changes	 * made by this method to be reflected in the SDDB, a call must be made to	 * the acceptAndOpen() method of the associated notifier to add this	 * ServiceRecord to the SDDB for the first time, or a call must be made to	 * the updateRecord() method of LocalDevice to modify the version of this	 * ServiceRecord that is already in the SDDB.	 * 	 * This method prevents the ServiceRecordHandle from being modified by	 * throwing an IllegalArgumentException.	 * 	 * Parameters: attrID - the service attribute ID attrValue - the DataElement	 * which is the value of the service attribute Returns: true if the service	 * attribute was successfully added, removed, or modified; false if	 * attrValue is null and attrID is not in this object Throws:	 * IllegalArgumentException - if attrID does not represent a 16-bit unsigned	 * integer; if attrID is the value of ServiceRecordHandle (0x0000)	 * RuntimeException - if this method is called on a ServiceRecord that was	 * created by a call to DiscoveryAgent.searchServices()	 */	public boolean setAttributeValue(int attrID, DataElement attrValue);	/**	 * @param service_telephony	 */	public void setDeviceServiceClasses(int service_telephony);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成av人片在线| 在线观看日韩av先锋影音电影院| 国产ts人妖一区二区| 在线观看视频一区二区| 欧美日本高清视频在线观看| 精品久久国产字幕高潮| 午夜视频在线观看一区二区| 成人小视频在线观看| 精品国产网站在线观看| 婷婷久久综合九色综合绿巨人| 91在线无精精品入口| 欧美激情综合网| 美女视频一区在线观看| 欧美亚洲高清一区二区三区不卡| 国产精品色一区二区三区| 美女任你摸久久| 欧美男男青年gay1069videost| 成人免费小视频| 成人av网址在线| 久久精品人人做人人爽人人| 免费人成精品欧美精品 | 亚洲自拍与偷拍| 成人免费精品视频| 久久久精品黄色| 国产精品亚洲午夜一区二区三区 | 欧美少妇bbb| 亚洲日本va在线观看| 国产激情偷乱视频一区二区三区| 欧美变态tickling挠脚心| 丝袜国产日韩另类美女| 欧美性大战久久久久久久蜜臀 | 国产日产欧美精品一区二区三区| 久久99久久精品| 日韩精品一区二区三区中文精品| 午夜a成v人精品| 日韩视频在线永久播放| 日本美女一区二区| 精品sm在线观看| 国产老妇另类xxxxx| 欧美激情在线观看视频免费| 国产凹凸在线观看一区二区| 国产精品毛片高清在线完整版| 丁香天五香天堂综合| 中文字幕一区二区三区四区不卡| 91在线小视频| 亚洲国产一区二区视频| 欧美日韩国产不卡| 奇米影视一区二区三区| 精品久久久久久最新网址| 国产麻豆视频精品| 亚洲桃色在线一区| 欧美日韩久久不卡| 91久久精品网| 日韩电影免费一区| 久久久久久电影| 99re这里只有精品视频首页| 亚洲尤物视频在线| 日韩你懂的在线观看| 国产激情视频一区二区三区欧美 | 欧美日本国产视频| 精品一区二区在线看| 中文字幕巨乱亚洲| 欧美日韩亚洲国产综合| 美美哒免费高清在线观看视频一区二区 | 免费看日韩a级影片| 国产日韩欧美激情| 欧美综合视频在线观看| 久88久久88久久久| 亚洲欧美成人一区二区三区| 欧美一区二区视频观看视频 | 欧美日韩中文一区| 激情综合网最新| 亚洲天堂2016| 欧美大度的电影原声| 色婷婷香蕉在线一区二区| 麻豆成人久久精品二区三区小说| 国产精品卡一卡二卡三| 日韩欧美亚洲另类制服综合在线 | 国产麻豆精品在线观看| 亚洲乱码国产乱码精品精小说| 欧美sm极限捆绑bd| 在线免费观看日韩欧美| 国产91丝袜在线播放0| 丝袜美腿高跟呻吟高潮一区| **网站欧美大片在线观看| 日韩三级视频在线观看| 91久久精品一区二区三区| 国产乱码精品一区二区三区忘忧草 | 国产乱码精品一区二区三| 亚洲综合久久av| 18成人在线观看| 欧美国产一区二区| 精品少妇一区二区三区日产乱码| 欧美日韩一区二区三区免费看| 成人网男人的天堂| 精品一区二区久久| 奇米精品一区二区三区四区| 丰满少妇在线播放bd日韩电影| 调教+趴+乳夹+国产+精品| 一区二区三区高清在线| 欧美国产精品专区| 国产情人综合久久777777| 精品国产乱码久久久久久蜜臀| 欧美精品免费视频| 在线视频中文字幕一区二区| 91在线porny国产在线看| 国产高清不卡一区二区| 国产精品18久久久久久久久久久久 | 亚洲电影第三页| 伊人开心综合网| 亚洲午夜久久久久久久久久久| 最新不卡av在线| 国产精品久久久一本精品| 国产三级欧美三级| 日本一区二区免费在线| 国产精品青草综合久久久久99| 欧美国产成人精品| 中文字幕一区二区三区视频| 中文字幕一区在线观看视频| 日韩毛片在线免费观看| 一区二区三区欧美久久| 亚洲一二三四区| 日韩中文字幕一区二区三区| 日韩国产欧美在线视频| 老色鬼精品视频在线观看播放| 麻豆精品在线看| 国产999精品久久久久久| av日韩在线网站| 欧美日韩一区二区在线观看视频 | 国产精品久久一级| 一区二区三区在线视频播放| 亚洲第一在线综合网站| 蜜桃视频在线一区| 国产69精品一区二区亚洲孕妇| 波多野结衣中文字幕一区二区三区| 91麻豆国产在线观看| 欧美日韩中文精品| 精品久久久久久综合日本欧美| 国产精品污网站| 一区二区三区四区高清精品免费观看| 亚洲一卡二卡三卡四卡| 久久成人免费网站| 99久久久免费精品国产一区二区| 色8久久精品久久久久久蜜| 在线不卡一区二区| 国产拍揄自揄精品视频麻豆| 一区二区三区不卡视频| 久久99久国产精品黄毛片色诱| 成人av在线观| 日韩三级在线免费观看| 中文字幕综合网| 精品一区二区免费| 91搞黄在线观看| 久久精品视频在线免费观看| 亚洲综合丝袜美腿| 国产福利精品一区| 欧美福利一区二区| 国产精品伦理在线| 日本午夜精品一区二区三区电影| 丁香婷婷综合网| 日韩欧美精品在线视频| 亚洲美女在线国产| 久久精品久久99精品久久| 97久久精品人人做人人爽 | 欧美亚洲愉拍一区二区| 日韩欧美色综合| 亚洲精品国产高清久久伦理二区| 久久综合综合久久综合| 91激情五月电影| 国产亚洲视频系列| 蜜臀va亚洲va欧美va天堂| 91黄色在线观看| 国产精品你懂的在线欣赏| 久久精品国产77777蜜臀| 136国产福利精品导航| 欧美性大战久久久| 国产一区二区三区最好精华液| 在线看国产一区二区| 中文一区二区完整视频在线观看 | 国产精品卡一卡二| 国内成人免费视频| 日韩手机在线导航| 五月天视频一区| 欧美日韩一区中文字幕| 国产精品无遮挡| 国产亚洲精品精华液| 亚洲成人高清在线| 奇米影视在线99精品| 欧美成人a∨高清免费观看| 欧美激情综合在线| 麻豆精品一区二区av白丝在线| 欧美午夜精品电影| 亚洲精品乱码久久久久久黑人| 成人国产在线观看| 日本一区二区三级电影在线观看| 国产精品小仙女| 欧美国产亚洲另类动漫| 国产夫妻精品视频| 日本一区二区三区四区 | 一区二区三区中文字幕电影 |