|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Objectcom.docomostar.device.DeviceDiscoveryResult
public final class DeviceDiscoveryResult
機器検索(Device Discovery 処理)によって得られる外部機器の情報を表すクラスです。
Bluetooth.searchDevice()
,
BluetoothConnectionEvent.getDeviceDiscoveryResult()
,
RemoteDevice.getDeviceDiscoveryResult()
フィールドの概要 | |
---|---|
static int |
MAJOR_DEVICE_CLASS_HEALTH
CoD フィールドの Major Device Class の1つで、"Health" を表します(=0x09)。 |
static int |
MINOR_DEVICE_CLASS_BLOOD_PRESSURE_MONITOR
CoD フィールドの Minor Device Class の1つで、 "Blood Pressure Monitor" を表します(=0x01)。 |
static int |
MINOR_DEVICE_CLASS_THERMOMETER
CoD フィールドの Minor Device Class の1つで、 "Thermometer" を表します(=0x02)。 |
static int |
SERVICE_CLASS_UUID_HDP
Service Class を表す UUID の1つで、HDP を表します(=0x1400)。 |
static int |
SERVICE_CLASS_UUID_HDP_SINK
Service Class を表す UUID の1つで、HDP Sink を表します(=0x1402)。 |
static int |
SERVICE_CLASS_UUID_HDP_SOURCE
Service Class を表す UUID の1つで、HDP Source を表します(=0x1401)。 |
static int |
SERVICE_CLASS_UUID_SERIALPORT
Service Class を表す UUID の1つで、SerialPort を表します(=0x1101)。 |
メソッドの概要 | |
---|---|
String |
getAddress()
Bluetooth アドレスを取得します。 |
String |
getDeviceName()
外部機器の名称を取得します。 |
int |
getMajorDeviceClass()
Class of Device/Service (CoD) フィールドに含まれている Major Device Class (ビットNo.8〜12) を取得します。 |
int |
getMajorServiceClasses()
Class of Device/Service (CoD) フィールドに含まれている Major Service Classes (ビットNo.13〜23) を取得します。 |
byte[] |
getManufacturerSpecificData()
Extended Inquiry Response に含まれている Manufacturer Specific Data を取得します。 |
int |
getMinorDeviceClass()
Class of Device/Service (CoD) フィールドに含まれている Minor Device Class (ビットNo.2〜7) を取得します。 |
int[] |
getServiceClassUUID16()
Extended Inquiry Response に含まれている 16-bit Service Class UUIDs を取得します。 |
String |
getShortenedLocalName()
Extended Inquiry Response に含まれている Shortened Local Name を取得します。 |
クラス Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int SERVICE_CLASS_UUID_SERIALPORT
getServiceClassUUID16()
,
定数フィールド値public static final int SERVICE_CLASS_UUID_HDP
getServiceClassUUID16()
,
定数フィールド値public static final int SERVICE_CLASS_UUID_HDP_SOURCE
getServiceClassUUID16()
,
定数フィールド値public static final int SERVICE_CLASS_UUID_HDP_SINK
getServiceClassUUID16()
,
定数フィールド値public static final int MAJOR_DEVICE_CLASS_HEALTH
getMajorDeviceClass()
,
定数フィールド値public static final int MINOR_DEVICE_CLASS_BLOOD_PRESSURE_MONITOR
getMinorDeviceClass()
,
定数フィールド値public static final int MINOR_DEVICE_CLASS_THERMOMETER
getMinorDeviceClass()
,
定数フィールド値メソッドの詳細 |
---|
public String getAddress()
取得されるアドレスは、 "2DIGIT":"2DIGIT":"2DIGIT":"2DIGIT":"2DIGIT":"2DIGIT"の形式 (例えば、00:11:22:33:BB:DD) で表現されます。取得された値は、 ネイティブ側の登録機器情報で表示されるアドレスと一致します。
public int[] getServiceClassUUID16()
Extended Inquiry Response に含まれている 16-bit Service Class UUIDs を取得します。 16-bit Service Class UUID が1つも存在しない場合には null を返します。
public int getMajorServiceClasses()
Class of Device/Service (CoD) フィールドに含まれている Major Service Classes (ビットNo.13〜23) を取得します。
public int getMajorDeviceClass()
Class of Device/Service (CoD) フィールドに含まれている Major Device Class (ビットNo.8〜12) を取得します。
public int getMinorDeviceClass()
Class of Device/Service (CoD) フィールドに含まれている Minor Device Class (ビットNo.2〜7) を取得します。
public String getShortenedLocalName()
Extended Inquiry Response に含まれている Shortened Local Name を取得します。 存在しない場合には null を返します。
public byte[] getManufacturerSpecificData()
Extended Inquiry Response に含まれている Manufacturer Specific Data を取得します。 存在しない場合は null を返します。
先頭2バイトの company identifier code も含めて、 第0要素から順に格納されたバイト配列を返します。
public String getDeviceName()
取得された値は、ネイティブ側の登録機器情報で表示される機器名称と一致します。
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
NTT DOCOMO,INC.
本製品または文書は著作権法により保護されており、その使用、複製、再頒布および逆コンパイルを制限するライセンスのもとにおいて頒布されます。NTTドコモ(その他に許諾者がある場合は当該許諾者も含めて)の書面による事前の許可なく、本製品および関連する文書のいかなる部分も、いかなる方法によっても複製することが禁じられます。フォントを含む第三者のソフトウェアは、著作権法により保護されており、その提供者からライセンスを受けているものです。
Sun、Sun Microsystems、Java、J2MEおよびJ2SEは、米国およびその他の国における米国 Sun Microsystems,Inc.の商標または登録商標です。サンのロゴマークは、米国 Sun Microsystems, Inc.の登録商標です。
FeliCaは、ソニー株式会社が開発した非接触ICカードの技術方式です。FeliCaは、ソニー株式会社の登録商標です。
「iモード」、「iアプリ/アイアプリ」、「i-αppli」ロゴ、「DoJa」はNTTドコモの商標または登録商標です。
その他記載された会社名、製品名などは該当する各社の商標または登録商標です。